If you are unable to have open a connection to your SSH public key could not be exchanged successfully, you may want to do the following
Remember to do the following SSH Login without Password
Evaluate that the agent is up
# eval `ssh-agent -s` Agent pid 265652
Add your SSH private key to the ssh-agent.
# ssh-add ~/.ssh/id_rsa.pub
*If you are still using “Could not open a connection to your authentication agent.”
# exec ssh-agent bash
*If You are having the issue. The default is
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for 'id_rsa.pub' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored.
# chmod 600 id_rsa.pub