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