X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 4 Aug 2010 09:38:14 -0700 Message-ID: Subject: Re: SSH Multiplexing - mux_client_request_session: read from master failed: Connection reset by peer From: Dennis Ordanov To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, I just wanted to know if I answered my own question here or if there is some work around for what I am trying to do below. Thank you, Dennis O. On Wed, Jul 28, 2010 at 4:50 PM, Dennis Ordanov wrote: > Hi, > > I'm trying to get SSH multiplexing on this very recent Cygwin install > and I get this error: > > mux_client_request_session: read from master failed: Connection reset by = peer > > I found this info by searching the mailing list archives, but that was > back in 2005. =A0Maybe something has changed? > > http://sourceware.org/ml/cygwin/2005-10/msg00672.html > http://sourceware.org/ml/cygwin/2005-11/msg00732.html > > > Anyone else see this or know how I can get around this? > > Key-auth can be done on those hosts that it's feasible for all other > laziness I'll have to try to see if I can get this work.... > > Thanks Cygwin, > > Dennis O. > > Below is my -vvv output, anyone have any ideas > > $ ssh root AT client DOT net -vvv > OpenSSH_5.5p1, OpenSSL 0.9.8o 01 Jun 2010 > debug1: Reading configuration data /home/dennis/.ssh/config > debug1: Applying options for * > debug1: auto-mux: Trying existing master > debug2: fd 3 setting O_NONBLOCK > debug2: mux_client_hello_exchange: master version 4 > debug3: mux_client_request_forwards: requesting forwardings: 0 local, 0 r= emote > debug3: mux_client_request_session: entering > debug3: mux_client_request_alive: entering > debug3: mux_client_request_alive: done pid =3D 8472 > 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 > debug1: Connecting to client.net [209.197.69.2] port 22. > debug1: Connection established. > debug1: identity file /home/dennis/.ssh/id_rsa type -1 > debug1: identity file /home/dennis/ssh/id_rsa-cert type -1 > debug1: identity file /home/dennis/.ssh/id_dsa type -1 > debug1: identity file /home/dennis/.ssh/id_dsa-cert type -1 > debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3 > debug1: match: OpenSSH_4.3 pat OpenSSH_4* > debug1: Enabling compatibility mode for protocol 2.0 > debug1: Local version string SSH-2.0-OpenSSH_5.5 > debug2: fd 4 setting O_NONBLOCK > debug1: SSH2_MSG_KEXINIT sent > debug1: SSH2_MSG_KEXINIT received > debug2: kex_parse_kexinit: > diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,d= iffie-hellman-group14-sha1,diffie-hellman-group1-sha1 > debug2: kex_parse_kexinit: > ssh-rsa-cert-v00 AT openssh DOT com,ssh-dss-cert-v00 AT openssh DOT com,ssh-rsa,ssh-dss > debug2: kex_parse_kexinit: > aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cb= c,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc AT lysat= or.liu.se > debug2: kex_parse_kexinit: > aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cb= c,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc AT lysat= or.liu.se > debug2: kex_parse_kexinit: > hmac-md5,hmac-sha1,umac-64 AT openssh DOT com,hmac-ripemd160,hmac-ripemd160 AT open= ssh.com,hmac-sha1-96,hmac-md5-96 > debug2: kex_parse_kexinit: > hmac-md5,hmac-sha1,umac-64 AT openssh DOT com,hmac-ripemd160,hmac-ripemd160 AT open= ssh.com,hmac-sha1-96,hmac-md5-96 > debug2: kex_parse_kexinit: none,zlib AT openssh DOT com,zlib > debug2: kex_parse_kexinit: none,zlib AT openssh DOT com,zlib > debug2: kex_parse_kexinit: > debug2: kex_parse_kexinit: > debug2: kex_parse_kexinit: first_kex_follows 0 > debug2: kex_parse_kexinit: reserved 0 > debug2: kex_parse_kexinit: > diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hel= lman-group1-sha1 > debug2: kex_parse_kexinit: ssh-rsa,ssh-dss > debug2: kex_parse_kexinit: > aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfou= r,aes192-cbc,aes256-cbc,rijndael-cbc AT lysator DOT liu DOT se,aes128-ctr,aes192-ctr,a= es256-ctr > debug2: kex_parse_kexinit: > aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfou= r,aes192-cbc,aes256-cbc,rijndael-cbc AT lysator DOT liu DOT se,aes128-ctr,aes192-ctr,a= es256-ctr > debug2: kex_parse_kexinit: > hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160 AT openssh DOT com,hmac-sha1-96= ,hmac-md5-96 > debug2: kex_parse_kexinit: > hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160 AT openssh DOT com,hmac-sha1-96= ,hmac-md5-96 > debug2: kex_parse_kexinit: none,zlib AT openssh DOT com > debug2: kex_parse_kexinit: none,zlib AT openssh DOT com > debug2: kex_parse_kexinit: > debug2: kex_parse_kexinit: > debug2: kex_parse_kexinit: first_kex_follows 0 > debug2: kex_parse_kexinit: reserved 0 > debug2: mac_setup: found hmac-md5 > debug1: kex: server-client aes128-ctr hmac-md5 none > debug2: mac_setup: found hmac-md5 > debug1: kex: client-server aes128-ctr hmac-md5 none > debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent > debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP > debug2: dh_gen_key: priv key bits set: 122/256 > debug2: bits set: 509/1024 > debug1: SSH2_MSG_KEX_DH_GEX_INIT sent > debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY > debug3: check_host_in_hostfile: host client.net filename > /home/dennis/.ssh/known_hosts > debug3: check_host_in_hostfile: host client.net filename > /home/dennis/.ssh/known_hosts > debug3: check_host_in_hostfile: match line 1 > debug3: check_host_in_hostfile: host 209.197.69.2 filename > /home/dennis/.ssh/known_hosts > debug3: check_host_in_hostfile: host 209.197.69.2 filename > /home/dennis/.ssh/known_hosts > debug3: check_host_in_hostfile: match line 1 > debug1: Host 'client.net' is known and matches the RSA host key. > debug1: Found key in /home/dennis/.ssh/known_hosts:1 > debug2: bits set: 526/1024 > debug1: ssh_rsa_verify: signature correct > debug2: kex_derive_keys > debug2: set_newkeys: mode 1 > debug1: SSH2_MSG_NEWKEYS sent > debug1: expecting SSH2_MSG_NEWKEYS > debug2: set_newkeys: mode 0 > debug1: SSH2_MSG_NEWKEYS received > debug1: Roaming not allowed by server > debug1: SSH2_MSG_SERVICE_REQUEST sent > debug2: service_accept: ssh-userauth > debug1: SSH2_MSG_SERVICE_ACCEPT received > debug2: key: /home/dennis/.ssh/id_rsa (0x0) > debug2: key: /home/dennis/.ssh/id_dsa (0x0) > debug1: Authentications that can continue: publickey,gssapi-with-mic,pass= word > debug3: start over, passed a different list publickey,gssapi-with-mic,pas= sword > debug3: preferred publickey,keyboard-interactive,password > debug3: authmethod_lookup publickey > debug3: remaining preferred: keyboard-interactive,password > debug3: authmethod_is_enabled publickey > debug1: Next authentication method: publickey > debug1: Trying private key: /home/dennis/.ssh/id_rsa > debug3: no such identity: /home/dennis/.ssh/id_rsa > debug1: Trying private key: /home/dennis/.ssh/id_dsa > debug3: no such identity: /home/dennis/.ssh/id_dsa > debug2: we did not send a packet, disable method > debug3: authmethod_lookup password > debug3: remaining preferred: ,password > debug3: authmethod_is_enabled password > debug1: Next authentication method: password > root AT client DOT net's password: > -- 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