Feature request: File descriptor support by sockets.
Adam Dinwoodie
adam@dinwoodie.org
Sat Oct 8 13:19:41 GMT 2022
On Thu, 6 Oct 2022 at 18:37, Darren Whobrey wrote:
>
> Hi, I'm using the latest version of Cygwin (3.3.6) and the Cygwin OpenSSH (OpenSSH_9.0p1, OpenSSL 1.1.1q 5 Jul 2022) version of ssh to talk to hosts using ControlMaster connection sharing. This uses sockets behind the scenes. When ControlMaster is set to no, the connection is successful.
>
> Ssh connections are failing at the point where IO starts to be forwarded to the host.
>
> Here's a snippet of log output from "ssh -vvv some-host":
>
> <snip>
>
> When successful connections are made from an OL7 client (with older version of OpenSSH, but mux commands are similar), comparative logs are:
>
> <snip>
>
> According to this web posting, it suggests the bug lies with "file descriptors over unix sockets do not work in Cygwin":
> https://exchangetuts.com/is-ssh-controlmaster-with-cygwin-on-windows-actually-possible-1639696447917488
>
> Is this something that can be fixed?
I'm very confident it *can* be fixed! But this gap has existed since
at least 2009 (see
https://cygwin.com/pipermail/cygwin/2012-February/199995.html and
https://sourceware.org/legacy-ml/cygwin/2009-10/msg00397.html) so I
suspect that, unless you're proposing to do the work or pay someone to
do it on your behalf, it's unlikely to happen any time soon.
More information about the Cygwin
mailing list