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

Log all sent/received SSH messages

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

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • None

    Description

      Time to time it's necessary to debug weird SSH issues. It could me much helpful if all SSH messages that we send/receive were logged into debug.
      There are several places where I see nothing is logged, e.g.

      • org.apache.sshd.server.auth.UserAuthPublicKey#doAuth
      • org.apache.sshd.common.session.AbstractConnectionService#channelOpen
        and so on.

      Could be nice if we check all possible code places where a response messages are created to include appropriate logging

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            jonnyzzz Eugene Petrenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment