ssh-agent error "Could not open a connection to your authentication agent."

SshSsh Agent

Ssh Problem Overview


I need to add a public key to ssh-agent but I'm getting the following error

> Could not open a connection to your authentication agent.

I'm using Windows 7. I found that agent is running. But ssh-add is useless as it gives an error above.

Ssh Solutions


Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAndrewGView Question on Stackoverflow