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 <url>
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 <url>
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?