[CentOS] ssh-agent

Tue Apr 6 17:07:35 UTC 2010
Bowie Bailey <Bowie_Bailey at BUC.com>

m.roth at 5-cent.us wrote:
> Oh, and the man page for ssh-agent reads, as the last line before "Files":
> "The agent exits automatically when the command given on the command
>      line terminates."
> Which means, to me, that when the xterm that I started it in is closed, it
> should end, unless there's some interpretation other than plain English
> there.

That's assuming that you gave it a command when you started it.  If you
look earlier in the file, it specifies:

    "If a commandline is given, this is executed as a subprocess of the
agent.  When the command dies, so does the agent."

If you don't specify a command when you start ssh-agent, it will just
run until you kill it.