|
Re: [sshfs] Error "Connection Reset By Peer" on pam_mount+sshfs (Fedora Cor: msg#00030file-systems.fuse.sshfs
Miklos Szeredi escribió: > > > > A full strace of the mount would help. Can you replace the mount > > command with something like: > > > > strace -o /tmp/strace -f mount ... After a few days studying the output from strace, I now see quite clearly that the ssh child is not getting the password correctly. I see this because the strace shows "Password incorrect" messages, and these happen immediately, three times (with no waiting time) and this only happens on a ssh logon when the password is blank. A debug on the server side shows me that there are three attempts to authenticate but none with success (and all the attempts within a few milliseconds period). I should think about a pam.d configuration problem but, on the other hand, using cifs instead of sshfs works perfectly, so it seems like the password is being delivered ok to CIFS. Why then is ssh not authenticating with the very same password? I hope you can help me to understand where is the password being lost on its handling to sshfs. To remind you, the user can mount his home himself with mount.fuse (via sshfs), so no privilege problems here. And a direct ssh or sftp login works perfectly. There are other errors in my strace like (/dev/tty not found) but I don't know whether they are to blame or not. I think it's just trying to write an error to the output but no output is available. Of course, that device exists and has perms 666. Thanks in advance for replies. Manuel Moran www.immv.es ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [sshfs] Write slower than Read?: 00030, Miklos Szeredi |
|---|---|
| Next by Date: | Re: [sshfs] Write slower than Read?: 00030, Miklos Szeredi |
| Previous by Thread: | Re: [sshfs] Error "Connection Reset By Peer" on pam_mount+sshfs (Fedora Core 6)i: 00030, Miklos Szeredi |
| Next by Thread: | [sshfs] sshfs idmap: 00030, Dan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |