On Dec 20 23:46, Ismail Donmez wrote: > On Tue, Dec 20, 2016 at 9:44 PM, Corinna Vinschen 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. [...] > > 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.
Neat. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
signature.asc
Description: PGP signature