Bug 1928

Summary: Allow cancellation of forwardings in multiplexing
Product: Portable OpenSSH Reporter: Abuc <a2493041>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: djm
Priority: P2    
Version: 5.8p2   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 1930    

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