Answer the question
In order to leave comments, you need to log in
Why doesn't ssh-add work in git?
Hello. I generate a pair of ssh keys with the ssh-keygen utility and the keys are generated perfectly, only after that the ssh-add id_rsa command issues: could not open a connection to your authentication agent . As I understand it, some ssh-agent is missing on my machine, or maybe this is not the problem? How to solve this problem?
I use msysgit on windows 8.
Thanks.
Answer the question
In order to leave comments, you need to log in
For beginners like me, it turns out that this damned ssh-agent needs to be run before ssh-add:
eval `ssh-agent.exe`.
In .bashrc, you need to write the code to start the agent (Step 4)
Bitbucket 101
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question