Answer the question
In order to leave comments, you need to log in
ssh-add command not working (Could not open a connection to your authentication agent), how to fix?
I want to execute a command ssh-add ~/.ssh/id_rsa.pub
in git bash.
After executing I get a response:
Could not open a connection to your authentication agent
. eval "$(ssh-agent -s)"
and eval `ssh-agent`
it didn't help. After executing these commands, nothing was displayed! Although, before Avast closed ssh-agent, it gave some kind of answer (I don’t remember which one). ~/.ssh/id_rsa.pub
) I have Answer the question
In order to leave comments, you need to log in
It turns out that Avast placed the ssh-agent.exe file in the quarantine zone, but I didn’t notice,
now everything works!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question