Quote:
Originally Posted by amitk.gupta09
Could not open a connection to your authentication agent
|
If 'env|grep SSH_AGENT_PID' doesn't return anything then you need to export the PID ssh-agent runs as. For example try running 'export SSH_AGENT_PID=$(pgrep ssh-agent) && ssh-add -l || ssh-add;' in your shell.
Quote:
Originally Posted by amitk.gupta09
ps aux|grep ssh-agent
|
BTW: easier / efficient would be to run 'pgrep ssh-agent' (or 'ps --no-headers -o pid -C ssh-agent').