Showing posts with label Could not open a connection to your authentication agent. Show all posts
Showing posts with label Could not open a connection to your authentication agent. Show all posts

Thursday, June 27, 2013

ssh Error : /usr/bin/ssh-copy-id: ERROR: No identities found

Error : /usr/bin/ssh-copy-id: ERROR: No identities found :

Solution :

Run following command on the client
# ssh-add

If it gives following error.
 Could not open a connection to your authentication agent
To remove this error, Run following command.
# eval `ssh-agent`
Now try to run ssh-add again.

If you are still getting this error, check if you have generated the keys using ssh-keygen.
Read here.

Wednesday, June 26, 2013

ssh Error : Could not open a connection to your authentication agent

Could not open a connection to your authentication agent :

If you are trying to execute ssh-add -l or ssh-add and it gives following error.
 Could not open a connection to your authentication agent
To remove this error, Run following command.
# eval `ssh-agent`
Now try to tun ssh-add again.