Skip to contentSkip to conversation

Automounting of user dir failing for SSH publickey auth

DISCUSSION Jeff Blaine 1 participant 2 messages Apr 24, 2009 – May 11, 2009 Kernel automounter

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw

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_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.

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs