Comment 18 for bug 357998

Revision history for this message
captwiggum (captwiggum) wrote :

My testing is same a others. I had to traverse two bugs to find solution.

SUMMARY:
* After upgrade to 9.04, can not ssh with rsa keys.
* Using my pre-existing non-standard bit length rsa key (1999), ssh to host generates this error in /var/log/messages: "error: RSA_public_decrypt failed: error:0407006A:lib(4):func(112):reason(106)"
* Taking advice from this list, I created a new standard bit length rsa key (2048 in this case), and updated new pub key on host in authorized_keys. Then when I ssh to host, the ssh client says: "Agent admitted failure to sign using the key"

SOLUTION:
by-pass local ssh-agent with this:
export SSH_AUTH_SOCK=dsasdflkasdfljkasdflkj

Now it allows me to successfully ssh to my host with rsa keys. From reading other's reports, it seems like this error is in the ssh client and not the ssh-agent nor openssl. It occurs even if I stop ssh-agent. But that's just my impression. I'm sure there will be an updated package soon.

Related Bugs:
[Jaunty/amd64] Agent admitted failure to sign using the key. bug #328445
gnome-keyring-daemon returns Agent admitted failure to sign using the key. bug #328127

Hope this helps someone.