Sunday, February 24, 2019

13.04 - What is managing SSH keys in Unity, and how do I reset / disable / configure it?

I'm using Ubuntu 13.04, and recently changed my ssh keys. For some reason Unity, or something in Gnome (seahorse?) doesn't seem to be recognizing it. The keys were generated on a different machine, and I basically copied the new SSH key pair to /home/user/.ssh


Something broke after I copied the new keys over. When I run git clone in a terminal in Unity, I get this error:


Agent admitted failure to sign using the key
Permission denied (publickey).
fatal: could not read from remote repository
Please make sure you have the correct access rights
and the repository exists

By chance, I switched to a tty console and ran the same git clone command. It actually works! Is something in Unity is somehow managing the ssh keys, and somehow it isn't using the key pair in the /home/user/.ssh directory?


After some googling, I've tried running ssh-add but it doesn't work. I've also tried moving everything out of the /home/user/.local/share/keyrings directory then rebooting, but I'm still getting the same error in the terminal session in Unity.


What could be the issue here?

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...