Ssh – Reconfiguring GNOME keyring daemon

gnome-keyringssh

I have a really strange problem when using GNOME keyring daemon.

I had an old SSH key which I've now retired and started using a new, stronger keyfile. However, every time I attempt to SSH into one of my servers, SSH tells me

Agent admitted failure to sign using the key.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

I'm pretty sure that the keyring daemon is trying to use my old key for some strange reason.

How can I reconfigure the keyring daemon to delete any knowledge of my old key?

Best Answer

GNOME Keyring Daemon doesn't like PKCS#8 keys, so it fails every time and can't import the key.

I was able to fix this by stopping GNOME Keyring Daemon from acting as an SSH agent, and I now use ssh-add instead.

Related Question