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

read: Connection reset by peer

Open yuppox opened this issue 1 year ago • 2 comments

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:

yuppox avatar Sep 12 '23 00:09 yuppox

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

Then run "sshfs ***" command.

GKSONG avatar Feb 28 '24 03:02 GKSONG

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.

bobjiang82 avatar Jun 11 '24 01:06 bobjiang82