Score:0

gnome-keyring ssh agent integration not working

us flag

On my system things used to work well, I have a local SSH key defined and I would "ssh <remotesystem>" and gnome-keyring would pop up a dialog asking for the password to decrypt my local SSH key, and then automatically log me in. Recently, this integration has stopped working and I am looking for help troubleshooting what's broken. Running seahorse I can confirm that the ssh key appears to be loaded. From a shell and quick "ps aux" check it looks like both gnome-keyring-daemon and ssh-agent are running, and "echo $SSH_AUTH_SOCK" verifies that it is set. Yet, trying to ssh to the remote system it requests a local password entry, rather than popping up the gnome-keyring GUI to get the password for decrypting my local ssh key. What more can I do to figure out why this has stopped working?

Score:0
cz flag

If I kill this process, I can get back to typing my passphrase and it works.

/usr/bin/gnome-keyring-daemon --daemonize --login 

I'm looking for a deeper fix.

Score:0
us flag

I'm embarrassed to say it, but I'll post it for the benefit of others :-) ...

My problem was not related to gnome-keyring at all. The permissions on my ~/.ssh/authorized_keys file (on the system I was trying to log into) had changed, which caused SSH to refuse any login using that key, and hence my problem.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.