Bug 1928 - Allow cancellation of forwardings in multiplexing
Summary: Allow cancellation of forwardings in multiplexing
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 5.8p2
Hardware: All All
: P2 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_6_0
  Show dependency treegraph
 
Reported: 2011-09-03 00:01 AEST by Abuc
Modified: 2016-08-02 10:41 AEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abuc 2011-09-03 00:01:12 AEST
"It also allows the cancellation of existing remote port-forwardings using -KR[bind_address:]port."

~# first of all shows really ugly information :-)

Shell doesn't work with muxing connections. However in 5.4 forwardings were supported with it, but it means you still can't remove local/remote forwarding without killing the master connection after they've been established (really annoying with controlpersist).

If I'm wrong on this please let me know, I'd love to be able to know how to get around it.

http://www.openssh.org/txt/release-5.4
 * Rewrite the ssh(1) multiplexing support to support non-blocking
   operation of the mux master, improve the resilience of the master to
   malformed messages sent to it by the slave and add support for
   requesting port- forwardings via the multiplex protocol. The new
   stdio-to-local forward mode ("ssh -W host:port ...") is also
   supported. The revised multiplexing protocol is documented in the
   file PROTOCOL.mux in the source distribution.
Comment 1 Damien Miller 2011-09-22 21:56:19 AEST
I just added this. In current CVS (to be OpenSSH-6.0), you can cancel existing port forwards using "ssh -O cancel [forwards] user@host"
Comment 2 Damien Miller 2016-08-02 10:41:03 AEST
Close all resolved bugs after 7.3p1 release