|
[sshfs] Error "Connection Reset By Peer" on pam_mount+sshfs (Fedora Core 6): msg#00016file-systems.fuse.sshfs
Hi: I arrive to fuse-sshfs mailing list after *weeks* of googling for a solution without success. I am trying to use pam_mount on a Fedora Core 6 client to mount homes for users. My setup seems to be ok in terms of pam.d configuration and permissions, because if I use pam_mount+CIFS everything works fine. If I mount the shares with: volume * cifs sambaserver homes ~ dmask=0711 - - Everything runs perfectly, so pam is working and everything else is. BUT when I try to use sshfs, changing the above line with this: volume * fuse loira "sshfs#&@loira:" ~ - - - Then this error is printed: login: pam_mount(mount.c:100) read: Connection reset by peer But, if after logging in without home directory (due to this error), the user reproduces the exact command that pam_mount is executing (mount.fuse) ¡¡then the directory is mounted without any problems!! I can see no answer in google with this problem: and both my client (ks-loira) and my server (loira) are fresh installs. I guess this is a problem of sshfs because, as I stated before, there is no problem mounting CIFS shares (and this module gets the password correctly). By the way I need SSHFS and not CIFS because I need unix permissions to be set correctly, and I don't get it to work with CIFS. I asked just hours ago on the pam_mount mailing list but the mantainer told me that the message "reset by peer" comes from the mount child, and not from pam_mount, which points to a problem with sshfs. Seems like this issue happens on OpenSUSE 10.2 I'd be very glad if you could give me some advice on my problem: I attach the complete log on the client. On the ssh server just a message is printed on the logs "Connection closed by 10.200.0.1" (which is the client where pam_mount is running). Seems like sshfs is connecting but not sending anything. Thanks in advance. Manuel Moran (mmv@xxxxxxxxxxxx) ps. Client log when this happens: Dec 13 14:00:34 ks-loira login: pam_mount(mount.c:171) can't get realpath of volume /home/alumnos/alumin: No such file or directory Dec 13 14:00:34 ks-loira login: pam_mount(mount.c:182) checking to see if sshfs#alumin@loira: is already mounted at /home/alumnos/alumin Dec 13 14:00:34 ks-loira login: pam_mount(mount.c:397) creating mount point /home/alumnos/alumin Dec 13 14:00:34 ks-loira login: pam_mount(mount.c:799) checking for encrypted filesystem key configuration Dec 13 14:00:34 ks-loira login: pam_mount(mount.c:819) about to start building mount command Dec 13 14:00:34 ks-loira login: pam_mount(misc.c:298) could not fill %(before="-o" OPTIONS) Dec 13 14:00:34 ks-loira login: pam_mount(misc.c:262) command: /sbin/mount.fuse [sshfs#alumin@loira:] [/home/alumnos/alumin] Dec 13 14:00:34 ks-loira login: pam_mount(misc.c:352) setting uid to user alumin Dec 13 14:00:34 ks-loira login: pam_mount(misc.c:370) set_myuid(post): real uid/gid=2238:2035, effective uid/gid=2238:2035 Dec 13 14:00:34 ks-loira login: pam_mount(mount.c:851) mount errors (should be empty): Dec 13 14:00:34 ks-loira login: pam_mount(mount.c:100) pam_mount(misc.c:352) setting uid to user alumin Dec 13 14:00:34 ks-loira login: pam_mount(mount.c:100) pam_mount(misc.c:370) set_myuid(post): real uid/gid=2238:2035, effective uid/gid=2238:2035 Dec 13 14:00:34 ks-loira login: pam_mount(mount.c:100) read: Connection reset by peer Dec 13 14:00:34 ks-loira login: pam_mount(mount.c:854) waiting for mount Dec 13 14:00:34 ks-loira login: pam_mount(pam_mount.c:478) mount of sshfs#alumin@loira: failed Dec 13 14:00:34 ks-loira login: pam_mount(pam_mount.c:123) clean system authtok (0) ------------------------------------------------------------------------- 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: | [sshfs] sshfs issue: 00016, Szekeres, Ed |
|---|---|
| Next by Date: | Re: [sshfs] Secure Mount: 00016, Miklos Szeredi |
| Previous by Thread: | [sshfs] sshfs issuei: 00016, Szekeres, Ed |
| Next by Thread: | Re: [sshfs] Error "Connection Reset By Peer" on pam_mount+sshfs (Fedora Core 6): 00016, Miklos Szeredi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |