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!