Subject: Re: ssh prompts passwd twice
To: NetBSD Current Users <current-users@netbsd.org>
From: Dick Davies <rasputnik@hellooperator.net>
List: current-users
Date: 03/10/2005 12:03:02
* Manuel Bouyer <bouyer@antioche.lip6.fr> [0334 10:34]:
> On Thu, Mar 10, 2005 at 11:10:20AM +0100, Jan H. van Gils wrote:
> > On donderdag 10 maart 2005 10:02 Manuel wrote:
> > >I installed a i386 from a current snapshot build yesterday (the sources
> > >are 2 days old). When I connect to this box, ssh asks the passwd twice:
> > >SSH passphrase: 
> > >SSH passphrase: 
> > >Last login: Wed Mar  9 19:22:23 2005 from ducas.lip6.fr

> > Yes I have seen this to, at first I thought it was a mistake on my site
> > but when trying it a couple of times, it every time asked me the password
> > twice.
 
> I also noticed that what is entered at the first prompt doesn't matter:
> it can be the right passwd, any string or an empty string, the first one
> always fail, the second one behaves as expected

I smell PAM. What does /etc/pam.d/sshd look like?

-- 
'You were doing well until everyone died'
		-- God
Rasputin :: Jack of All Trades - Master of Nuns