Hi, On Tue, Dec 20, 2016 at 9:44 PM, Corinna Vinschen <corinna-cyg...@cygwin.com> wrote: > I've just updated the Cygwin version of OpenSSH to 7.4p1-1. > > This is primarily an upstream bugfix release. > > Below's the original release message. [...] > * ssh(1): Add a proxy multiplexing mode to ssh(1) inspired by the > version in PuTTY by Simon Tatham. This allows a multiplexing > client to communicate with the master process using a subset of > the SSH packet and channels protocol over a Unix-domain socket, > with the main process acting as a proxy that translates channel > IDs, etc. This allows multiplexing mode to run on systems that > lack file- descriptor passing (used by current multiplexing > code) and potentially, in conjunction with Unix-domain socket > forwarding, with the client and multiplexing master process on > different machines. Multiplexing proxy mode may be invoked using > "ssh -O proxy ..."
Looks like this could be used for connection multiplexing on Cygwin. Since it doesn't seem to be documented I am not sure how one can test it, but ... with Host * ControlMaster auto ControlPath ~/.ssh/master-%r@%h:%p latte ~ > ssh i10z.com mux_client_request_session: read from master failed: Connection reset by peer Failed to connect to new control master --> Fails as expected, lets retry. latte ~ > ssh i10z.com mux_client_request_session: read from master failed: Connection reset by peer ControlSocket /home/ismail/.ssh/master-ism...@i10z.com:22 already exists, disabling multiplexing Welcome to Ubuntu 16.10 (GNU/Linux 4.8.0-30-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Last login: Tue Dec 20 23:42:56 2016 from 2a02:810d:8ac0:a3c:de8:1380:f2c2:bc79 --> Started a new session and created the master too. latte ~ > ssh -O proxy i10z.com Welcome to Ubuntu 16.10 (GNU/Linux 4.8.0-30-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Last login: Tue Dec 20 23:43:02 2016 from 2a02:810d:8ac0:a3c:de8:1380:f2c2:bc79 --> Started a new session. latte ~ > ssh -O proxy i10z.com Last login: Tue Dec 20 23:43:06 2016 from 2a02:810d:8ac0:a3c:de8:1380:f2c2:bc79 --> Voila, it used the existing connection! And after that it indeed seems to be using the old connection as long as you specify -O proxy option. Something to play with I guess. Regards, ismail -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple