openssh-agent polling

Bob Proulx bob at
Mon Sep 17 08:08:11 EST 2007

Damien Miller wrote:
> You can avoid the polling now by not executing a subcommand when starting
> ssh-agent. I.e. run:
> eval `ssh-agent`
> ...
> This will leave an ssh-agent around unless you have a symmetric
> "ssh-agent -k" in your logout scripts.

I have often seen users who mess this up and will leave literally
hundreds of ssh-agents running on machines.  One large advantage of
'ssh-agent command' is that the ssh-agent will exit when the command
exits.  But users who do "eval `ssh-agent`" rarely clean up after


More information about the openssh-unix-dev mailing list