I need to add multiple ssh keys , so i need to execute ssh-add
But I get error of Could not open a connection to your authentication agent
I read multiply posts like Could not open a connection to your authentication agent and https://superuser.com/questions/901568/ssh-agent-could-not-open-connection
I had started the ssh-agent by
eval ($ssh-agent -s)
and the output is like : Agent pid 13524
but still get this error:
$ ssh-add ~/.ssh/id_rsa
Could not open a connection to your authentication agent.
I also set
git config --global url."https://".insteadOf git://
And I echo some variable and get this:
echo $SSH_AGENT_PID
12340
echo $SSH_AUTH_SOCK
/tmp/ssh-ZbRZr10908/agent.10908
PS: I am using Windows 7 and the under company's network.