You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2018/02/04 14:52:00 UTC
[jira] [Commented] (SSHD-799) SSHD port forwarding. Missing
SSH_MSG_CHANNEL_OPEN_FAILURE message if failed to open connection
[ https://issues.apache.org/jira/browse/SSHD-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351807#comment-16351807 ]
Goldstein Lyor commented on SSHD-799:
-------------------------------------
See [https://github.com/lgoldstein/mina-sshd/commit/6f87c23ebfd48e1f650293bd5453532ccdf27b76] - is this satisfactory ? You can test the code by cloning [https://github.com/lgoldstein/mina-sshd/commits/SSHD-801] and compiling
> SSHD port forwarding. Missing SSH_MSG_CHANNEL_OPEN_FAILURE message if failed to open connection
> -----------------------------------------------------------------------------------------------
>
> 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
> Labels: port-forwarding
>
> 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)