If I change the name of the private key to id_rsa.old and then specify
it with the -i flag I can then login to the first host.

How on earth can this be ?

ssh -i ~/.ssh/id_rsa.old u...@host -v

debug1: Next authentication method: publickey
debug1: Offering public key: id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 148
debug1: Authentications that can continue: publickey,gssapi-with-mic
debug1: Offering public key: /home/ahall/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 148
debug1: Authentications that can continue: publickey,gssapi-with-mic
debug1: Offering public key: /home/ahall/.ssh/id_rsa
debug1: Authentications that can continue: publickey,gssapi-with-mic
debug1: Trying private key: /home/ahall/.ssh/id_rsa.old
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/home/ahall/.ssh/id_rsa.old':
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).



2009/6/25 Andrew Hall <[email protected]>:
> Hi there.
>
> Since upgrading from F10 to F11 using the preupgrade procedure I can
> no longer authenticate to SSH servers with my RSA key.
>
> When I attempt to connect this is what happens server side...
>
> sshd[12128]: error: RSA_public_decrypt failed:
> error:0407006A:lib(4):func(112):reason(106)
> sshd[12128]: error: RSA_public_decrypt failed:
> error:04067072:lib(4):func(103):reason(114)
>
> Here are some further details of the (presumably) related packages...
>
> openssh-clients-5.2p1-2.fc11.i586
> openssh-5.2p1-2.fc11.i586
> openssl-0.9.8k-5.fc11.i686
>
> It seems this is also happening on other distros...
>
> https://bugs.launchpad.net/seahorse/+bug/357998
>
> Any thoughts on what might be wrong here and how to resolve it would
> be greatly appreciated.
>
> Thanks very much.
>

-- 
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to