[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
Fri Jul 6 14:04:28 EST 2007


Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
                 CC|                            |djm at mindrot.org

--- Comment #2 from Damien Miller <djm at mindrot.org>  2007-07-06 14:04:24 ---
Perhaps it would be better to fork prior to connection for
ControlPersist=yes, rather than at the end of the session. E.g.
something like the following:

if (master_socket_exists)
if (control_persist):
   if (parent):
       daemon() /* will take care of detaching from tty, etc. */

Another handy thing might be to make ControlPersist accept a time
value, using misc.c:convtime(), for how long to stick around after the
last active channel has closed.

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