From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26312 invoked by alias); 4 Aug 2010 16:38:26 -0000 Received: (qmail 26294 invoked by uid 22791); 4 Aug 2010 16:38:24 -0000 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 Received: from mail-gy0-f171.google.com (HELO mail-gy0-f171.google.com) (209.85.160.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Aug 2010 16:38:16 +0000 Received: by gyg13 with SMTP id 13so3266151gyg.2 for ; Wed, 04 Aug 2010 09:38:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.176.197 with SMTP id bf5mr10325872ibb.175.1280939894283; Wed, 04 Aug 2010 09:38:14 -0700 (PDT) Received: by 10.231.142.76 with HTTP; Wed, 4 Aug 2010 09:38:14 -0700 (PDT) In-Reply-To: References: Date: Wed, 04 Aug 2010 16:38:00 -0000 Message-ID: Subject: Re: SSH Multiplexing - mux_client_request_session: read from master failed: Connection reset by peer From: Dennis Ordanov To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-08/txt/msg00072.txt.bz2 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@client.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@openssh.com,ssh-dss-cert-v00@openssh.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@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@lysat= or.liu.se > debug2: kex_parse_kexinit: > hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@open= ssh.com,hmac-sha1-96,hmac-md5-96 > debug2: kex_parse_kexinit: > hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@open= ssh.com,hmac-sha1-96,hmac-md5-96 > debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib > debug2: kex_parse_kexinit: none,zlib@openssh.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@lysator.liu.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@lysator.liu.se,aes128-ctr,aes192-ctr,a= es256-ctr > debug2: kex_parse_kexinit: > hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96= ,hmac-md5-96 > debug2: kex_parse_kexinit: > hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96= ,hmac-md5-96 > debug2: kex_parse_kexinit: none,zlib@openssh.com > debug2: kex_parse_kexinit: none,zlib@openssh.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@client.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