ssh-agent on ubuntu rapidly restarts

Posted by Santa Claus on Super User See other posts from Super User or by Santa Claus
Published on 2014-06-11T19:36:53Z Indexed on 2014/06/11 21:28 UTC
Read the original article Hit count: 614

Filed under:
|
|
|
|

I am attempting to use ssh-agent on Ubuntu 13.10 so that I will not have to enter my passphrase to unlock a key every time I want to use ssh or git.

As you can see below, ssh-agent appears to be restarting for some reason. These commends were executed within a period of less than 5 seconds:

andrew@zaphod:~$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-pqm5J0s70NxG/agent.2820; export SSH_AUTH_SOCK;
SSH_AGENT_PID=2821; export SSH_AGENT_PID;
echo Agent pid 2821;
andrew@zaphod:~$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-VpkOH2WKjT1M/agent.2822; export SSH_AUTH_SOCK;
SSH_AGENT_PID=2823; export SSH_AGENT_PID;
echo Agent pid 2823;
andrew@zaphod:~$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-EQ6X9JHNiBOO/agent.2824; export SSH_AUTH_SOCK;
SSH_AGENT_PID=2825; export SSH_AGENT_PID;
echo Agent pid 2825;
andrew@zaphod:~$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-8Iij8kFkaapz/agent.2826; export SSH_AUTH_SOCK;
SSH_AGENT_PID=2827; export SSH_AGENT_PID;
echo Agent pid 2827;
andrew@zaphod:~$ 

My guess is that ssh-agent is crashing, but how would I know? What log file would it log to?

© Super User or respective owner

Related posts about linux

Related posts about ubuntu