[Bug 3456] provide a way to have forwardings killed, when the remote command/shell finishes
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Feb 10 15:44:06 AEDT 2023
https://bugzilla.mindrot.org/show_bug.cgi?id=3456
--- Comment #5 from Damien Miller <djm at mindrot.org> ---
AFAIK this would work:
ssh -oControlMaster=auto -oControlPersist=1s \
-oControlPath=/path -L[forward] user at host command ; \
ssh -oControlPath=/path -Oexit user at host
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list