Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

error msg: Could not open a connection to your authentication agent.

Dave
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 30, 2018

ec2-user:~/environment $ ssh-add ~/.ssh/id_rsa
Could not open a connection to your authentication agent.

public and private key have been added. ssh-add doesn't seem to work.

1 answer

0 votes
Dave
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 30, 2018

ec2-user:~/environment $ eval 'ssh-agent'
SSH_AUTH_SOCK=/tmp/ssh-r8odUROXSYK8/agent.3979; export SSH_AUTH_SOCK;
SSH_AGENT_PID=3980; export SSH_AGENT_PID;
echo Agent pid 3980;

I confirmed this step also. 

Jeff Sikala
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 26, 2018

Then what's the next step?

Nathan A
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 9, 2019

Have you gotten past that issue? I seem to be facing the same. With Sourcetree SSH works after loading keys in Pageant. But in the terminal, although ps shows there is an agent running, it still does not connect to the agent 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events