apaka/win-sshfs — pull request #3 by kenkendk (2013-04-18 14:29:28+00:00)
Title: Added support for SFTP servers that do not allow SSH commands (e.g. Paramico)

The SFTP server Paramico (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.