I've been trying to get ssh-add working on a RaspberryPi running Raspbian.
I can start
ssh-agent, when I do it gives the following output into the terminal:
SSH_AUTH_SOCK=/tmp/ssh-06TcpPflMg58/agent.2806; export SSH_AUTH_SOCK; SSH_AGENT_PID=2807; export SSH_AGENT_PID; echo Agent pid 2807;
If I run
ps aux | grep ssh I can see it is running.
Then I try to run
ssh-add in order to add my key passphrase, and I get the following:
Could not open a connection to your authentication agent.