[Bug 1330] RFE: 'ControlPersist' support -- automatically fork and leave ControlMaster behind as a daemon
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Tue Jul 13 14:23:39 EST 2010
https://bugzilla.mindrot.org/show_bug.cgi?id=1330
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1708
--- Comment #27 from Damien Miller <djm at mindrot.org> ---
I think the previous patch got the ExitOnForwardFailure case wrong
(though this already had a bug that I just fixed in -current), and
possibly the "ssh -f" case too. I'm pretty sure the revised diff fixes
these.
The main change is to defer the backgrounding when ExitOnForwardFailure
is set until after the confirm messages for -R forwards have been
received. This means that we need to proceed into the mainloop before
we background and set up a new foreground client, and this in turn
means that we need to save and restore the flags
(tty/no-tty/stdin-null) that we must clobber before we hit the
mainloop.
--
Configure bugmail: https://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