[Bug 1473] Add option to save PID of a backgrounded ssh process
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Sat Dec 26 23:41:50 EST 2009
https://bugzilla.mindrot.org/show_bug.cgi?id=1473
--- Comment #6 from Damien Miller <djm at mindrot.org> 2009-12-26 23:41:48 EST ---
(In reply to comment #5)
> @Damien: The ControlMaster feature is very cool, but you can't
> (currently) port-forward with the slaves, so if you're trying to
> set up multiple port forwardings, it doesn't help.
You are correct that it cannot configure port-forwardings (yet - see
bug #1617. I hope to fix this before 5.4), but it does help - it gives
you exactly what a pidfile does as afar as being able to control a
running daemon.
> I think i have an idea - mktemp a directory, then start several
> independent control master connections, one for each forwarded port,
> with control paths mktemp'd (or otherwise) in that directory, running
> with -f. To shut them down, for-loop over the files in the directory
> and do -O exit to close the connections. It's anything but pretty, but
> it should work (a classic shell script, then!).
Yes, this is what I mean.
--
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