sshfs-win
sshfs-win copied to clipboard
read: Connection reset by peer
Windows 10 SSHFS version 3.5.2 FUSE library version 3.2
When I try to use sshfs
, I get this error:
read: Connection reset by peer
I've tried multiple hosts and always get the same error. I can map a drive using net use
. SSH also works.
I'm using basic syntax:
sshfs -f [email protected]: X:
In the CMD terminal.. "SET PATH=C:\Program Files\SSHFS-Win\bin"
Then run "sshfs ***" command.
I ran into the same issue and resolved as below. FYR.
Check if there are multiple ssh.exe exist by "where ssh.exe". e.g. I have C:\Program Files\SSHFS-Win\bin\ssh.exe C:\Windows\System32\OpenSSH\ssh.exe Remove "C:\Windows\System32\OpenSSH" from PATH environment variable. Then run sshfs in a new terminal. e.g. sshfs.exe SPR54:/home S:
PS: see others specify the correct ssh.exe to be used by sshfs with argument. that would be a better solution if you would like to keep OpenSSH in PATH.