[Bug 1330] RFE: 'ControlPersist' support -- automatically fork and leave ControlMaster behind as a dæmon

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Jul 23 12:52:43 EST 2007


--- Comment #5 from Wout Mertens <wmertens at cisco.com>  2007-07-23 12:52:39 ---
Created an attachment (id=1331)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1331)
Persist and idletimeout combined

This combines the controlpersist keyword with the controltimeout and
idletimeout keywords.

See bug #1338 for more info on the idletimeout patch.

With this patch, you can ssh/scp/sftp to a host, interact with it, and
then when you disconnect, the connection will daemonize and stay alive
until you haven't used the connection for a predetermined time.


ssh -o ControlPath=/tmp/ssh-$USER-%h:%p -o ControlMaster=auto -o
ControlPersist=yes -o ControlTimeout=5m someserver

I cleaned up the patch from #1338 some more, now that I understand the
code better. I think the patch is now done. 

Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.

More information about the openssh-bugs mailing list