[SGVLUG] SSH Keys / Trusted Authentication

Claude Felizardo cafelizardo at gmail.com
Thu May 4 17:22:54 PDT 2006


On 5/4/06, Sean O'Donnell <sodonnell at childrensoncologygroup.org> wrote:

[snip]

> publickey,password,keyboard-interactive
> debug1: Next authentication method: publickey
> debug1: Offering public key: /home/myid/.ssh/id_rsa
> debug1: Server accepts key: pkalg ssh-rsa blen 277
> debug1: PEM_read_PrivateKey failed
> debug1: read PEM private key done: type <unknown>
> Enter passphrase for key '/home/myid/.ssh/id_rsa':
> debug1: read PEM private key done: type RSA
> debug1: Authentication succeeded (publickey).
> debug1: channel 0: new [client-session]
> debug1: Entering interactive session.


I was able to reproduce this if i remove my key.  If it's cached then
it goes as follows:

debug1: Server accepts key: pkalg ssh-rsa blen 277
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.


Are you running ssh-agent?  Do you have your pass phrase cached using ssh-add?

Did you do an update of your window manager so that it is no longer
running ssh-agent automatically?  I think this behavior changed within
the last year or so and you are suppose to use a new mechanism.  Now
that i think about it, I never did finish upgrading to the latest
version of mandriva on my desktop here at work which is the only place
I'm currently using ssh-agent.

Another possibility is that the machine you are connecting to was
reconfigured a while ago but not rebooted until recently so you never
noticed the change until now.

claude


More information about the SGVLUG mailing list