Page 1 of 1

mount sshfs error: "read: Connection reset by peer"

Posted: Thu Mar 07, 2013 2:02 pm
by ^rooker
[PROBLEM]
When trying to mount a share over "sshfs", I get the following error message:
read: Connection reset by peer
I verified that I can properly connect to the server using ssh, and the configuration in /etc/fstab hasn't changed. So it "should" work.

[SOLUTION]
I tried to mount it as root.
A post in an Archlinux forum pointed me in the right direction:
"Don't use sshfs as root. It's a FUSE filesystem and meant to be user mounted."
That was it. Don't use sudo, don't be root:
Just use "mount /mnt/xxx" instead of "sudo mount /mnt/xxx"

Re: mount sshfs error: "read: Connection reset by peer"

Posted: Mon Feb 19, 2018 12:51 am
by ^rooker
Just ran into a related error message:
fusermount: user has no write access to mountpoint /mnt/xxx
The message pretty much includes the solution ;)