delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/18/12:32:37

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=UrNDtLNfTIHvLeLJoZxlCjJG4N1uMH98V/gzXCa4U7ptsebthzQ6s
63cM+GlYrCemP3gNskOSYlny3E1mu7ZaLbfQ6569q2VnRrIGLaWNCqEueRXQRZMh
tpNHSg9z28QFTbj+nRg9akHl8vqpoqOr7Eq6ixa8AQKzf87UX1LtzE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=ZCX+nhYesSiA7liT7wlTxAxvlTU=; b=mRCNPLsS/Iy5oY8Qr6LG4HdKngYd
t7zxRwf3UaDip0vVtC7hnsvsiI/yleDWhIzTxAk+pbWUouy9mM09DDsai1dIzVR2
qDTf/NfB60cyxxn8WZqVuBrp0MIZRtGp79lWt/1HyDpCYdh4seyg3k0KNIiAptvH
M2w+8jFUw4fYoMo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 18 Nov 2015 18:32:19 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ssh ControlMaster re-broken
Message-ID: <20151118173219.GS6402@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <8ADFA0E0FC6B6F4A96E106C224E204F30EE3F631 AT SGSIMBX006 DOT nsn-intra DOT net>
MIME-Version: 1.0
In-Reply-To: <8ADFA0E0FC6B6F4A96E106C224E204F30EE3F631@SGSIMBX006.nsn-intra.net>
User-Agent: Mutt/1.5.23 (2014-03-12)

--2xzXx3ruJf7hsAzo
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Nov 17 12:46, Zhu, Binbin (Nokia - CN/Hangzhou) wrote:
> Hi,
>=20
> It worked month ago, but it failed after reinstall.
>=20
> 1. Create shared session: ssh -vvv -nNf -o ControlMaster=3Dyes -o Control=
Path=3D"$HOME/.ssh/ctl/%L-%r@%h:%p"  remote-host
> Output in accepting new connection:=20
> $ debug1: multiplexing control connection
> debug3: fd 5 is O_NONBLOCK
> debug3: fd 5 is O_NONBLOCK
> debug1: channel 1: new [mux-control]
> debug3: channel_post_mux_listener: new mux channel 1 fd 5
> debug3: mux_master_read_cb: channel 1: hello sent
> debug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4
> debug2: process_mux_master_hello: channel 1 slave version 4
> debug3: mux_master_read_cb: channel 1 packet type 0x10000004 len 4
> debug2: process_mux_alive_check: channel 1: alive check
> debug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 41
> debug2: process_mux_new_session: channel 1: request tty 1, X 0, agent 0, =
subsys 0, term "xterm", cmd "", env 0
> mm_receive_fd: no message header
> process_mux_new_session: failed to receive fd 0 from slave
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  failed attempt at descriptor passing

> 2. Client output:
> $ ssh -vvv -o ControlPath=3D"$HOME/.ssh/ctl/%L-%r@%h:%p" remote-host
> OpenSSH_7.1p1, OpenSSL 1.0.2d 9 Jul 2015
> debug2: fd 3 setting O_NONBLOCK
> debug2: mux_client_hello_exchange: master version 4
> debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
> debug3: mux_client_request_session: entering
> debug3: mux_client_request_alive: entering
> debug3: mux_client_request_alive: done pid =3D 10144
> debug3: mux_client_request_session: session request sent
> mux_client_request_session: read from master failed: Connection reset by =
peer
> debug2: ssh_connect: needpriv 0
>=20
> Could you help?

Are you really sure it ever worked?  To the best of my knowledge the
control master stuff always required descriptor passing via AF_LOCAL
sockets, which is not available under Cygwin.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--2xzXx3ruJf7hsAzo
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWTLYjAAoJEPU2Bp2uRE+gd0EP/0VqO5HJPBt51m9KGdStYhSZ
00qSH5QGJXriIfYYZkvjFISx+hNgUu0+ySGpmDrGPDCz3iSfpjr9+/TggbQwPnwn
viui50Po83g5egsiPQR9cfRer0vDuO458/Xy0tR2G8P+K/cfvVEVfrZ4nCyJPtZ0
pGDgyxLEPrTqRL1eBNpe4HLk8uHBmx0DpDDTPbfWsm/aiwWx9MjlDcTjHRt1d5N1
0mid2tFw+BVj1c1qdKkAifXDMaydi7B3BEe8puZfsJwFT3+E2DPn95+KSQqKjy9+
6N4fV8+TFYnGYwvBiW8WvTjXeUYsvJke8X4+We5mK8XWC1ODB5xJ/NQGPTBv3AE+
3zn7VvBqzfAUJZe3NCDKRqC/IYJRylafw8fxXmshXJNyGTtci1LWza5nJgx9WI7z
5wN66F8dobKAgxwhvronbDRvtmX/Mlt97/iMHBR1JecmDkNkcee7fTsdIhBMU7LY
w/vFmmtnnSg2ns8glB84hWUd5QXy3PHqSnfgVgw5MBIIr4LsBygW8WnlQUbtzxrS
YTJ7qVZpBNhJ+0fBXImAFu895EMZPbtv3PXeqLobTj4G2xZnh8s0m0kEUQ0VSZ6D
3SiXSGJy0C2nKujnBWLPjTqoIGr1EVZE98XA0KEM/Hd7V3KsWSCMgjnUEjX2Icto
vr918obg9AOtd1ZwGuuN
=DLJn
-----END PGP SIGNATURE-----

--2xzXx3ruJf7hsAzo--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019