You are not logged in.

#1 2006-12-07 15:39:27

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

[SOLVED] sshfs: Connection reset by peer

I am trying to use sshfs (to replace nfs) so I can access my music and my vids across my network (music and vids are on "marbles", I want to access them on "toaster").

Now, if on toaster, I do "ssh chris@marbles", it works fine.  I can "scp" across the network fine as well.

If, however, I do "sshfs chris@marbles:/mnt/music-vids/ ~/marbles/", I get the error:

read: Connection reset by peer

Going through the logs on marbles, all I get is this:

Dec  7 15:34:33 marbles sshd[5905]: Accepted publickey for chris from 192.168.0.3 port 44030 ssh2
Dec  7 15:34:33 marbles sshd(pam_unix)[5907]: session opened for user chris by (uid=0)
Dec  7 15:34:33 marbles sshd[5907]: subsystem request for sftp
Dec  7 15:34:33 marbles sshd(pam_unix)[5907]: session closed for user chris

Which means nothing to me really.

Anyone got any ideas?

Cheers.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#2 2006-12-07 16:44:20

slubman
Member
From: Grenoble (France)
Registered: 2004-08-04
Posts: 86
Website

Re: [SOLVED] sshfs: Connection reset by peer

Is the sftp subsytem active on the ssh server :?:

check for this line in your /etc/ssh/sshd_config:

Subsystem       sftp    /usr/lib/ssh/sftp-server

Offline

#3 2006-12-07 18:57:42

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: [SOLVED] sshfs: Connection reset by peer

Turns out I had:

Subsystem       sftp    /usr/lib64/misc/sftp-server

Must have been from when I had Gentoo amd64 installed.. I just blindly copied the configs over, doh!  Fixed and it all works now smile

Cheers


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#4 2010-08-16 22:01:12

AskApache
Member
Registered: 2009-10-18
Posts: 16
Website

Re: [SOLVED] sshfs: Connection reset by peer

dude.. doh! is right.  This isn't really an answer for the connection being reset, which is a totally differnt issue (tcp-level not config file error)

Offline

#5 2010-08-19 18:55:36

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] sshfs: Connection reset by peer

AskApache,
This thread is almost 4 years old. Do you really think someone has been waiting for that long for you to provide a solution/comment?

Read the forum etiquettes about necro posting from my sig.

Closing...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB