Automounting of user dir failing for SSH publickey auth
RHELv5 with kernel 2.6.18-53
SSH publickey authentication is failing for our users with automounted home directories because the mount (/home/joe) is expired and unmounted and sshd tries to find /home/joe/.ssh/authorized_keys
If we 'cd /home/joe' every minute on the sshd host, the mount is retained and publickey auth works every time.
What are we doing wrong? Surely this should work without hackery to keep the share mounted.
This appears to be the problem:
http://www.mail-archive.com/[email protected]/msg01527.html
More when I know it, clearly only for the sake of the mailing list archives and others trying to solve the same problem.
Quoted 19 lines · Jeff Blaine
RHELv5 with kernel 2.6.18-53
SSH publickey authentication is failing for our users with automounted home directories because the mount (
/home/joe) is expired and unmounted and sshd tries to find/home/joe/.ssh/authorized_keysIf we 'cd
/home/joe' every minute on the sshd host, the mount is retained and publickey auth works every time.What are we doing wrong? Surely this should work without hackery to keep the share mounted.
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs