You are not logged in.

#1 2009-09-01 12:55:42

dswain
Member
From: Durham, New Hampshire
Registered: 2006-03-25
Posts: 10
Website

SSHFS Connection Reset By Peer

I've been trying to set up SSHFS on my machine. I can successfully login via SSH from the localhost and another remote machine, but when I try and use SSHFS on the client side, I get the the following:

[dswain@direwolf ] sudo sshfs -o allow_other -o sshfs_debug dswain@192.168.1.101
SSHFS version 2.2
read: Connection reset by peer
[dswain@direwolf ]

Since I was able to login via SSH I'm not sure if it's an issue with SSH.

I modified hosts.allow to allow all connections on sshd to be allowed:

#
# /etc/hosts.allow
#
nfsd: ALL
portmap: ALL
mountd: ALL
sshd: ALL
# End of file

And hosts.deny:

#
# /etc/hosts.deny
#

ALL: ALL: DENY

# End of file

Any thoughts would be great! Thanks!

Offline

#2 2009-09-02 03:26:13

neddie_seagoon
Member
Registered: 2009-08-23
Posts: 121

Re: SSHFS Connection Reset By Peer

I'm not sure why you get that error, but the sshfs syntax doesn't look right. I use sshfs to connect from another machine to my Arch box with this command:

sshfs user@archbox:/ /mnt/archbox

I also don't run it as root. (I just need permissions to write to the mountpoint)

Offline

#3 2009-09-02 03:29:21

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: SSHFS Connection Reset By Peer

You don't seem to specify a remote directory or a local mountpoint. I don't know if that would cause the reset error, but try reformatting your command using neddie_seagoon's example above.

Last edited by Xyne (2009-09-02 03:29:49)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2009-09-02 03:48:06

dswain
Member
From: Durham, New Hampshire
Registered: 2006-03-25
Posts: 10
Website

Re: SSHFS Connection Reset By Peer

Sorry I was writing that out of memory - I think I do specify both of those things. However, since it's from memory I may be wrong. I'll double check and let you know if that was it.

Offline

Board footer

Powered by FluxBB