[ https://issues.apache.org/jira/browse/SSHD-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16349963#comment-16349963 ]
ASF GitHub Bot commented on SSHD-799: ------------------------------------- GitHub user fcav1973 opened a pull request: https://github.com/apache/mina-sshd/pull/46 [SSHD-799] SSHD port forwarding. Missing SSH_MSG_CHANNEL_OPEN_FAILURE New PR containing only commit for the issue in subject You can merge this pull request into a Git repository by running: $ git pull https://github.com/fcav1973/mina-sshd br-SSHD-799 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/mina-sshd/pull/46.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #46 ---- commit 21f3047768492ee88a59ab29b75f3af3564895f8 Author: cu0132 <fulvio.cavarretta@...> Date: 2018-02-02T08:27:22Z [SSHD-799] SSHD port forwarding. Missing SSH_MSG_CHANNEL_OPEN_FAILURE ---- > SSHD port forwarding. Missing SSH_MSG_CHANNEL_OPEN_FAILURE message > ------------------------------------------------------------------ > > Key: SSHD-799 > URL: https://issues.apache.org/jira/browse/SSHD-799 > Project: MINA SSHD > Issue Type: Bug > Affects Versions: 1.7.0 > Reporter: Fulvio Cavarretta > Assignee: Goldstein Lyor > Priority: Major > > Hi we are faceing issue using port forwarding feature. > An ssh client is requesting to open a remote connection through Apache sshd > server. > In case connection to remote server fails, there some cases where sshd do not > send back SSH_MSG_CHANNEL_OPEN_FAILURE. > The problem is in > _org.apache.sshd.common.session.helpers.AbstractConnectionService_ class > The offending code seems to be from line 642 to 654: in case Exception is > null, no SSH_MSG_CHANNEL_OPEN_FAILURE is sent back to client. > We'll try to post a pull request for this issue > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)