SSH problem – “Agent admitted failure to sign using the key.”

In a previous article, Linux – Enable auto-login via SSH, I explained how you can eliminate the need to enter your password every time you log on to a specific host.

You might run into a problem where you get the following error message:
“Agent admitted failure to sign using the key”

You then need to type in the password again. Pointless.

To fix it is quite simple:

user@techedemic:~$ ssh-add

This will add an SSH identity to the local machine for use with remote logins.

Try connecting via SSH to the other machine again and the error should be gone…as well as the password prompt!

Add a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.