public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* SSH Multiplexing - mux_client_request_session: read from master  failed: Connection reset by peer
@ 2010-07-29  7:24 Dennis Ordanov
  2010-08-04 16:38 ` Dennis Ordanov
  0 siblings, 1 reply; 3+ messages in thread
From: Dennis Ordanov @ 2010-07-29  7:24 UTC (permalink / raw)
  To: cygwin

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.  Maybe 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 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 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,diffie-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-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.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-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-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,password
debug3: start over, passed a different list publickey,gssapi-with-mic,password
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: SSH Multiplexing - mux_client_request_session: read from master  failed: Connection reset by peer
  2010-07-29  7:24 SSH Multiplexing - mux_client_request_session: read from master failed: Connection reset by peer Dennis Ordanov
@ 2010-08-04 16:38 ` Dennis Ordanov
  2010-08-05  8:46   ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Dennis Ordanov @ 2010-08-04 16:38 UTC (permalink / raw)
  To: cygwin

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 <daodennis@gmail.com> 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.  Maybe 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 remote
> debug3: mux_client_request_session: entering
> debug3: mux_client_request_alive: entering
> debug3: mux_client_request_alive: done pid = 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,diffie-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-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.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-hellman-group1-sha1
> debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
> debug2: kex_parse_kexinit:
> aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
> debug2: kex_parse_kexinit:
> aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-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,password
> debug3: start over, passed a different list publickey,gssapi-with-mic,password
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: SSH Multiplexing - mux_client_request_session: read from master  failed: Connection reset by peer
  2010-08-04 16:38 ` Dennis Ordanov
@ 2010-08-05  8:46   ` Corinna Vinschen
  0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2010-08-05  8:46 UTC (permalink / raw)
  To: cygwin

On Aug  4 09:38, Dennis Ordanov wrote:
> 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 <daodennis@gmail.com> 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.  Maybe 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?

There is no workaround.  Cygwin still doesn't support descriptor
passing via sendmsg/recvmsg.
http://cygwin.com/acronyms/#PTC


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-05  8:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-29  7:24 SSH Multiplexing - mux_client_request_session: read from master failed: Connection reset by peer Dennis Ordanov
2010-08-04 16:38 ` Dennis Ordanov
2010-08-05  8:46   ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).