I am attempting to setup a centralized home-directory server through sshfs and pam-mount.
Currently I am stuck at this point:
When attempting to mount the remote home directory sshfs just gets stuck:
d_inevitable@laptop:~$ sshfs -o nonempty,debug server: .
FUSE library version: 2.9.0
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
It freezes at this point.
This seems to be because the home directory includes ~/.ssh
. So when I try sshfs -o nonempty server:.ssh .ssh
the same thing happens.
I suppose fuse somehow initializes the mount, but then ssh needs something from it's config directory so it tries to read from it. Fuse will just block that read resulting in a deadlock.
What kind of stuff does sshfs need from ~/.ssh
?
I have tried to remove all read/write permissions from ~/.ssh
and then mounting on some other directory. That worked fine. The debug output only complained about writing to .ssh/known_hosts
.