Showing posts with label key. Show all posts
Showing posts with label key. Show all posts

Wednesday, March 27, 2013

Resolve "Agent admitted failure to sign using the key."

You might be getting the following error message, perhaps when either using ssh or git:


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

Solve this by this simple fix:

ssh-add

What may have happened, is that you changed your ssh key, and something got confused.