Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-799

SSHD port forwarding. Missing SSH_MSG_CHANNEL_OPEN_FAILURE message if failed to open connection

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 2.0.0

    Description

      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

       

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lgoldstein Lyor Goldstein
            fcava Fulvio Cavarretta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment