ssh-agent on ubuntu rapidly restarts
- by Santa Claus
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?