From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Blaine Subject: Re: Automounting of user dir failing for SSH publickey auth Date: Mon, 11 May 2009 15:17:00 -0400 Message-ID: <4A0879AC.3000507@kickflop.net> References: <49F1FF20.3010709@kickflop.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49F1FF20.3010709@kickflop.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: autofs@linux.kernel.org This appears to be the problem: http://www.mail-archive.com/rhelv5-list@redhat.com/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. Jeff Blaine wrote: > 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 > autofs@linux.kernel.org > http://linux.kernel.org/mailman/listinfo/autofs >