GNOME Bugzilla – Bug 516097
ssh always asks to unlock private key with no password set
Last modified: 2009-03-03 04:25:38 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/187127 "My ssh keys have no password, but yet on Hardy, the Gnome key ring manager is always asking me to unlock them! The unlock dialog can't handle an empty blank password, and checking the "always unlock when I login" has no effect either. So after the upgrade to Hardy, my machine can't do ssh/slogin to any other machine. This is a showstopper since this machine is used for development and needs to push/pull from secure git repositories. Closing the dialog box allows the ssh to work (one time), but doesn't work well in automated scripts! Doing same thing from console (text mode) works without dialog."
Could you paste the first line of the SSH key file into this bug report?
ubuntu bug reply: "-----BEGIN DSA PRIVATE KEY----- What did you expect?"
I would love to fix this. I really can't duplicate this. I have a DSA key unencrypted without a password and it works correctly. Are there messages from gnome-keyring-daemon in your auth.log?
Same issue. authorized_keys login succeeds after closing the popups Sep 18 11:40:45 mlsorensen-lnx gnome-keyring-daemon[5780]: couldn't find or load public key for private key Sep 18 11:42:03 mlsorensen-lnx gnome-keyring-daemon[5780]: couldn't find or load public key for private key Sep 18 11:42:51 mlsorensen-lnx gnome-keyring-daemon[5780]: couldn't find or load public key for private key
Those messages seem to indicate that the *.pub key is missing. Is that the case. For each private SSH key there should be a public one in the same directory. For example Private key: id_rsa Public key: id_rsa.pub