ssh-agent asking for passphrase on non-keyed connections

Markus Friedl markus at openbsd.org
Sat May 24 18:42:14 EST 2003


On Sat, May 24, 2003 at 12:08:43AM -0400, Jason McCormick wrote:
>   I'm running into some odd behavior that I can't figure out that I'm
> hoping someone can help me with.  After years of SSH usage, I've
> decided to exchange one laziness for another and use ssh-agent.
> However I'm running into an odd instance where ssh is asking for the
> passphrase to my key stored in ~/.ssh/id_dsa when attempting to connect
> to a machine with nothing in ~/.ssh/authorized_keys and the key
> properly active in ssh-agent.  For example:
> 
> [user at host ~]$ ssh user at foo
> Last login: Mon May 12 15:06:33 2003 from host
> [user at foo ~]$
> 
> Never asks for a passphrase and I'm logged in perfectly.  However now
>  if I ssh to root on the same box (with no /root/.ssh/authorized_keys)
>  I'm prompted for the passphrase for my key and then prompted for the
>  password for root.  For example:
> 
> [user at host ~]$ ssh root at foo
> Enter passphrase for key '/home/user/.ssh/id_dsa':
> root at foo's password:
> Last login: Tue May  6 11:44:59 2003 from host
> [root at foo root]#

do you have ssh -vvv output?




More information about the openssh-unix-dev mailing list