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

Shouldn't throw an exception when receiving an unsupported SFTP message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0

    Description

      Unsupported SFTP message types should just respond with SSH_FX_OP_UNSUPPORTED, and not also throw an exception, since that ends the session. When I use Ubuntu's Nautilus integration for SFTP that attempts READLINK requests quite a lot, which are currently unimplemented in SftpSubsytem. If we stop throwing the exception and just return the unsupported response, it works fine.

      Attaching a patch.

      Attachments

        1. sftp-unsupported-op.patch
          0.6 kB
          Nick Howes

        Activity

          People

            gnodet Guillaume Nodet
            nicholash Nick Howes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: