winfsp / sshfs-win

SSHFS For Windows
https://winfsp.dev
Other
5.07k stars 254 forks source link

read: Connection reset by peer #401

Open yuppox opened 1 year ago

yuppox commented 1 year ago

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 user@host.com: X:
GKSONG commented 7 months ago

In the CMD terminal.. "SET PATH=C:\Program Files\SSHFS-Win\bin"

Then run "sshfs ***" command.

bobjiang82 commented 3 months ago

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.