ssh -f & pid

Damien Miller djm at mindrot.org
Thu Feb 19 09:11:58 EST 2009


On Wed, 18 Feb 2009, Folkert van Heusden wrote:

> Hi,
> 
> Ssh -f forks itself in the background. Very usefull if you would like to
> e.g. tunnel munin over ssh. Now it's tricky to terminate one process if
> you have multiple running.

You can use ControlMaster to set a listen socket for your backgrounded
connections and then "ssh -O exit" to terminate them.

-d


More information about the openssh-unix-dev mailing list