delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/14/13:24:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <030c01c54116$b09555f0$92c019ac@lkwd.com>
From: "Ben Terry" <benterry AT comcast DOT net>
To: "Jason Legate" <aurelius+cygwin AT slashze DOT ro>, <cygwin AT cygwin DOT com>
References: <20050414100053 DOT K2632 AT home DOT evine DOT com>
Subject: Re: SSH seems to freeze in rsync on WinNT
Date: Thu, 14 Apr 2005 13:23:35 -0400
MIME-Version: 1.0
X-IsSubscribed: yes

I've seen something similar...
It seemed to be permission related and I never did figure it out...
try rsync'ing the files to another directory on the destination server and
then rsync'ing again from there to the final directory (on the same
server)...see it that works...
----- Original Message ----- 
From: "Jason Legate" <aurelius+cygwin AT slashze DOT ro>
To: <cygwin AT cygwin DOT com>
Sent: Thursday, April 14, 2005 1:00 PM
Subject: SSH seems to freeze in rsync on WinNT


> I have an rsync being spawned from an external application nightly, and it
seems
> to always "freeze" on ssh:
>
> 2005-04-14 00:03:10: Running rsync -e "ssh -vvv -o
PasswordAuthentication=no" --exclude-from=d:\AlohaQS\backups\RSYNC.ex -az
/cygdrive/d/AlohaQS/20050413 /cygdrive/d/AlohaQS/200504*
user AT host:/dateddirs
> 2005-04-14 00:03:11: OpenSSH_3.9p1, OpenSSL 0.9.7d 17 Mar 2004
> 2005-04-14 00:03:12: debug2: ssh_connect: needpriv 0
> 2005-04-14 00:03:12: debug1: Connecting to host [ip] port 22.
> 2005-04-14 00:03:12: debug1: Connection established.
> 2005-04-14 00:03:12: debug1: identity file
/cygdrive/d/AlohaQS/backups/.ssh/identity type -1
> 2005-04-14 00:03:12: debug1: identity file
/cygdrive/d/AlohaQS/backups/.ssh/id_rsa type -1
> 2005-04-14 00:03:12: debug1: identity file
/cygdrive/d/AlohaQS/backups/.ssh/id_dsa type 2
> 2005-04-14 00:03:12: debug1: Remote protocol version 1.99, remote software
version OpenSSH_3.8.1p1 FreeBSD-20040419
> 2005-04-14 00:03:12: debug1: match: OpenSSH_3.8.1p1 FreeBSD-20040419 pat
OpenSSH*
> 2005-04-14 00:03:12: debug1: Enabling compatibility mode for protocol 2.0
> 2005-04-14 00:03:12: debug1: Local version string SSH-2.0-OpenSSH_3.9p1
> 2005-04-14 00:03:12: debug2: fd 3 setting O_NONBLOCK
> 2005-04-14 00:03:12: debug1: SSH2_MSG_KEXINIT sent
> 2005-04-14 00:03:12: debug1: SSH2_MSG_KEXINIT received
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellma
n-group1-sha1
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,r
ijndael-cbc AT lysator DOT liu DOT se,aes128-ctr,aes192-ctr,aes256-ctr
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,r
ijndael-cbc AT lysator DOT liu DOT se,aes128-ctr,aes192-ctr,aes256-ctr
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160 AT openssh DOT com,hmac-sha1-96,hm
ac-md5-96
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160 AT openssh DOT com,hmac-sha1-96,hm
ac-md5-96
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit: none,zlib
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit: none,zlib
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit: first_kex_follows 0
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit: reserved 0
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit: ssh-dss
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,r
ijndael-cbc AT lysator DOT liu DOT se,aes128-ctr,aes192-ctr,aes256-ctr
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,r
ijndael-cbc AT lysator DOT liu DOT se,aes128-ctr,aes192-ctr,aes256-ctr
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160 AT openssh DOT com,hmac-sha1-96,hm
ac-md5-96
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160 AT openssh DOT com,hmac-sha1-96,hm
ac-md5-96
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit: none,zlib
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit: none,zlib
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit:
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit: first_kex_follows 0
> 2005-04-14 00:03:12: debug2: kex_parse_kexinit: reserved 0
> 2005-04-14 00:03:12: debug2: mac_init: found hmac-md5
> 2005-04-14 00:03:12: debug1: kex: server->client aes128-cbc hmac-md5 none
> 2005-04-14 00:03:12: debug2: mac_init: found hmac-md5
> 2005-04-14 00:03:12: debug1: kex: client->server aes128-cbc hmac-md5 none
> 2005-04-14 00:03:12: debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192)
sent
> 2005-04-14 00:03:12: debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
> 2005-04-14 00:03:13: debug2: dh_gen_key: priv key bits set: 125/256
> 2005-04-14 00:03:13: debug2: bits set: 510/1024
> 2005-04-14 00:03:13: debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
> 2005-04-14 00:03:13: debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
> 2005-04-14 00:03:13: debug3: check_host_in_hostfile: filename
/cygdrive/d/AlohaQS/backups/.ssh/known_hosts
> 2005-04-14 00:03:13: debug3: check_host_in_hostfile: match line 1
> 2005-04-14 00:03:13: debug3: check_host_in_hostfile: filename
/cygdrive/d/AlohaQS/backups/.ssh/known_hosts
> 2005-04-14 00:03:13: debug3: check_host_in_hostfile: match line 1
> 2005-04-14 00:03:13: debug1: Host 'host' is known and matches the DSA host
key.
> 2005-04-14 00:03:13: debug1: Found key in
/cygdrive/d/AlohaQS/backups/.ssh/known_hosts:1
> 2005-04-14 00:03:13: debug2: bits set: 523/1024
> 2005-04-14 00:03:13: debug1: ssh_dss_verify: signature correct
> 2005-04-14 00:03:13: debug2: kex_derive_keys
> 2005-04-14 00:03:13: debug2: set_newkeys: mode 1
> 2005-04-14 00:03:13: debug1: SSH2_MSG_NEWKEYS sent
> 2005-04-14 00:03:13: debug1: expecting SSH2_MSG_NEWKEYS
> 2005-04-14 00:03:13: debug2: set_newkeys: mode 0
> 2005-04-14 00:03:13: debug1: SSH2_MSG_NEWKEYS received
> 2005-04-14 00:03:13: debug1: SSH2_MSG_SERVICE_REQUEST sent
> 2005-04-14 00:03:13: debug2: service_accept: ssh-userauth
> 2005-04-14 00:03:13: debug1: SSH2_MSG_SERVICE_ACCEPT received
> 2005-04-14 00:03:13: debug2: key:
/cygdrive/d/AlohaQS/backups/.ssh/identity (0x0)
> 2005-04-14 00:03:13: debug2: key: /cygdrive/d/AlohaQS/backups/.ssh/id_rsa
(0x0)
> 2005-04-14 00:03:13: debug2: key: /cygdrive/d/AlohaQS/backups/.ssh/id_dsa
(0x100e8ad8)
> 2005-04-14 00:03:18: debug1: Authentications that can continue:
publickey,keyboard-interactive
> 2005-04-14 00:03:18: debug3: start over, passed a different list
publickey,keyboard-interactive
> 2005-04-14 00:03:18: debug3: preferred publickey,keyboard-interactive
> 2005-04-14 00:03:18: debug3: authmethod_lookup publickey
> 2005-04-14 00:03:18: debug3: remaining preferred: keyboard-interactive
> 2005-04-14 00:03:18: debug3: authmethod_is_enabled publickey
> 2005-04-14 00:03:18: debug1: Next authentication method: publickey
> 2005-04-14 00:03:18: debug1: Trying private key:
/cygdrive/d/AlohaQS/backups/.ssh/identity
> 2005-04-14 00:03:18: debug3: no such identity:
/cygdrive/d/AlohaQS/backups/.ssh/identity
> 2005-04-14 00:03:18: debug1: Trying private key:
/cygdrive/d/AlohaQS/backups/.ssh/id_rsa
> 2005-04-14 00:03:18: debug3: no such identity:
/cygdrive/d/AlohaQS/backups/.ssh/id_rsa
> 2005-04-14 00:03:18: debug1: Offering public key:
/cygdrive/d/AlohaQS/backups/.ssh/id_dsa
> 2005-04-14 00:03:18: debug3: send_pubkey_test
> 2005-04-14 00:03:18: debug2: we sent a publickey packet, wait for reply
> 2005-04-14 00:03:19: debug1: Remote: Forced command: rrsync data
> 2005-04-14 00:03:19: debug1: Remote: Port forwarding disabled.
> 2005-04-14 00:03:19: debug1: Remote: X11 forwarding disabled.
> 2005-04-14 00:03:19: debug1: Remote: Agent forwarding disabled.
> 2005-04-14 00:03:19: debug1: Remote: Pty allocation disabled.
> 2005-04-14 00:03:19: debug1: Server accepts key: pkalg ssh-dss blen 433
> 2005-04-14 00:03:19: debug2: input_userauth_pk_ok: fp
42:06:86:fc:50:99:46:3a:0d:97:3b:93:a7:d6:4f:08
> 2005-04-14 00:03:19: debug3: sign_and_send_pubkey
> 2005-04-14 07:17:16: rsync: read error: Connection reset by peer (104)
>
> ---
> It doesn't quit until I kill the ssh process in the morning (at 07:17
here)
>
> The application is running as "Local System" (though I have it running as
such
> on another site just fine).  It's on a WinNT Workstation 4.0 machine.
>
> SSH Client: OpenSSH_3.9p1, OpenSSL 0.9.7d 17 Mar 2004
> rsync client: rsync  version 2.6.3  protocol version 28
>
> Problem is, when I run the application manually, it works just fine
>
> Any ideas?
>
> Thanks in advance,
>
> Jason
> -- 
> Jason Legate (W6SN)
> Key Fingerprint: 4FB4 2228 DE63 3BBA 7B72  40DD 13D5 2547 821D 2909
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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