[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
Thu Jul 7 10:20:05 AEST 2022


--- Comment #4 from Christoph Anton Mitterer <calestyo at scientia.org> ---
> You could also do this using the multiplexing control socket and -O cancel

But AFAIU, this I'd need to do on the local side in an extra command.

So when I have some:
$ ssh foo.example.org

which sets up the forwarding and does via RemoteCommand start the
remote service... and that then "hangs" because the forwarding is kept
open even after the RemoteCommand has finished,... I would need to run
the cancel command from somewhere else, i.e. manually.

So that's merely "as good" as manually doing a Ctrl-C.

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