You are not logged in.

#1 2011-09-29 02:28:49

Compulsed
Member
Registered: 2011-08-24
Posts: 44

[Solved] sshfs - read: Connection reset by peer

I've used this command to try testing a remote file sharing system, just locally.

[dalesalter@Archy ~]$ sudo sshfs dalesalter@192.168.1.101:~/Desktop/Test/ ~/Desktop/Test1/ -C -p 99

which results in...
read: Connection reset by peer

I've read the trouble shooting page here: https://wiki.archlinux.org/index.php/Sshfs
Although none of it seems to resolve anything

Thanks in advance and feel free to ask any questions, as what I did was probably a stupid mistake.

Last edited by Compulsed (2011-09-30 07:21:06)

Offline

#2 2011-09-29 11:09:31

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved] sshfs - read: Connection reset by peer

A few things, though I'm not sure they're the cause of the problem...

- Don't use sshfs as root. It's a FUSE filesystem and meant to be user mounted.
- Don't specify a full path as the remote FS. It's SSH, so by default, the $PWD on the remote side is the login user's $HOME. You can merely specify 192.168.1.101:Desktop/Test

Rule of thumb: if ssh works, sshfs will work. The easiest way is to make sure that ~/.ssh/config has an entry for the remote host with the user, port, etc provided.

Offline

#3 2011-09-30 07:13:06

Compulsed
Member
Registered: 2011-08-24
Posts: 44

Re: [Solved] sshfs - read: Connection reset by peer

I figure out that I needed to use the ssh port, oh wow stupid me.

Last edited by Compulsed (2011-09-30 07:23:25)

Offline

Board footer

Powered by FluxBB