Bug 1609

Summary: ControlMaster auto improvement
Product: Portable OpenSSH Reporter: akostadinov
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED DUPLICATE    
Severity: normal CC: djm
Priority: P2    
Version: 5.1p1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 1626    

Description akostadinov 2009-06-13 18:16:01 AEST
Hallo,

currently if one uses ControlMaster auto, then things work fine but one is not able to use port forwarding and other features on subsequent connections.

For example if one first opens a ssh connection to a host, then tries a command like "vncviewer -via host :1", then that fails badly. Adding command line options in this case is cumbersome.

So my suggestion is when "ControlMaster auto" is selected then in case of subsequent connection to the same host multiplexing to get disabled if client is requesting features that will not be available when using multiplexing.

So if
1. ssh host
2. ssh host # in another terminal
multiplexing should be enabled

But if
1. ssh host
2. ssh -L ##:xxx:## host #in another terminal
multiplexing should not be used for the second invocation

Hope this makes sense.

Regards
Comment 1 Damien Miller 2009-10-06 16:02:48 AEDT
Yes, this has been on my todo for some time. Put it on the list for 5.4.
Comment 2 Damien Miller 2009-11-20 11:04:35 AEDT

*** This bug has been marked as a duplicate of bug 1617 ***
Comment 3 Darren Tucker 2010-03-26 10:51:43 AEDT
With the release of 5.4p1, this bug is now considered closed.