Could not open a connection to your authentication agent

$ ssh-add -k /home/oracle/wha.pem

Error : Could not open a connection to your authentication agent

To solve this issue :

For bash shell on CentOS

eval `ssh-agent -s`

Run the command again and it should be able to run as normal

$ ssh-add -k /home/oracle/wha.pem

Category: AIXBashCloudLinuxMacOsSolaris

Tags:

Leave a Reply

Article by: Shadab Mohammad