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.
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.
Then what's the next step?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.