Git bash:ssh-add could not open a connection to your authentication agent
I'm new to Github and Generating SSH Keys look a necessity. I successfully created SSH Key but when I'm going to add it to the ssh-agent
Could not open a connection to your authentication agent.
If ssh-add could not open a connection to your authentication agent then you could use:
exec ssh-agent bash
eval ssh-agent -s
These commands will help in creating and adding ssh keys in ssh-agent.
What is the SSH agent?what does SSH agent do?
ssh-agent is a key manager for SSH. It holds your keys and certificates in memory, unencrypted, and ready for use by ssh . It saves you from typing a passphrase every time you connect to a server.