win-sshfs icon indicating copy to clipboard operation
win-sshfs copied to clipboard

Added support for SFTP servers that do not allow SSH commands (e.g. Paramiko)

Open kenkendk opened this issue 11 years ago • 0 comments

The SFTP server Paramiko (and other strictly SFTP configured servers) do not permit side-channel SSH commands.

The current implementation requests these, but does not supply a timeout or fault handler for these.

This patch provides a 10 second timeout, and marks SSH commands as non-supported, for future requests. If the SSH commands are not supported, a FXP_STAT request is made on "." for extracting the UID and GID. The "df" command simply returns the default values, if statvfs is not supported.

kenkendk avatar Apr 18 '13 14:04 kenkendk