[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
Sat Aug 11 07:26:41 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=1330





--- Comment #8 from Alan Barrett <apb at cequrux.com>  2007-08-11 07:26:36 ---
Created an attachment (id=1338)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1338)
patch for three way ControlPersist=yes/no/timeout option.

I re-wrote the ControlPersist patch to do what I want.  Differences
from other versions include:

1. The control master backgrounds itself immediately after
authentication, before running the shell or command for the first
client connection.  The first client connection is run as a client of
the newly-backgrounded control master.

2. The ControlPersist option takes a three-way yes/no/timeout
parameter, instead of using a separate ControlTimeeout parameter.

3. The ControlPersist timeout doesn't start ticking until the last
client connection is closed.

4. This patch does not add an IdleTimeout parameter or any kind of idle
timeout handling for normal connections.


-- 
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