X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com Subject: ssh from linux randomly hangs MIME-Version: 1.0 X-KeepSent: B3E7F2C5:926FC419-852575CB:005A4365; type=4; name=$KeepSent Message-ID: From: Can Ekingen Date: Thu, 4 Jun 2009 12:28:42 -0400 Content-Type: text/plain; charset="US-ASCII" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Excuse me if this is a repeat question, I can't find it on internet . Sometimes ssh from suse linux to cygwin hangs, usually first time in the morning, I need to kill client ssh then all day it works fine. cygwin ssh version is 5.1p1-10 . linux site is : # uname -a Linux ssoadm1 2.6.16.21-0.8-bigsmp #1 SMP Mon Jul 3 18:25:39 UTC 2006 i686 i686 i386 GNU/Linux # ssh -v OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005 I debugged both sites , last lines of output on linux site : debug3: remaining preferred: debug3: authmethod_is_enabled password debug1: Next authentication method: password iadministrator AT secap301-c1's password: debug3: packet_send2: adding 48 (len 67 padlen 13 extra_pad 64) debug2: we sent a password packet, wait for reply debug1: Authentication succeeded (password). debug1: channel 0: new [client-session] debug3: ssh_session2_open: channel_new: 0 debug2: channel 0: send open debug1: Entering interactive session. <....hangs here> on cygwin site , last lines of sshd : debug2: input_userauth_request: try method password debug3: mm_auth_password entering debug3: mm_request_send entering: type 10 debug3: mm_auth_password: waiting for MONITOR_ANS_AUTHPASSWORD debug3: mm_request_receive_expect entering: type 11 debug3: monitor_read: checking request 10 debug3: mm_request_receive entering debug3: mm_answer_authpassword: sending result 1 debug3: mm_request_send entering: type 11 Accepted password for iadministrator from 157.150.190.9 port 35627 ssh2 debug3: mm_auth_password: user authenticated debug1: monitor_child_preauth: iadministrator has been authenticated by privileg ed process debug3: mm_get_keystate: Waiting for new keys debug3: mm_send_keystate: Sending new keys: 0x1001c6f0 0x1001b0c0 debug3: mm_request_receive_expect entering: type 24 debug3: mm_newkeys_to_blob: converting 0x1001c6f0 debug3: mm_request_receive entering debug3: mm_newkeys_to_blob: converting 0x1001b0c0 debug3: mm_send_keystate: New keys have been sent debug3: mm_send_keystate: Sending compression state debug3: mm_request_send entering: type 24 debug3: mm_send_keystate: Finished sending state debug3: mm_newkeys_from_blob: 0x1001f178(118) debug2: mac_setup: found hmac-md5 debug3: mm_get_keystate: Waiting for second key debug3: mm_newkeys_from_blob: 0x10020268(118) debug2: mac_setup: found hmac-md5 debug3: mm_get_keystate: Getting compression state debug3: mm_get_keystate: Getting Network I/O buffers debug3: mm_share_sync: Share sync debug3: mm_share_sync: Share sync end < ... waits here long time... > debug2: set_newkeys: mode 0 debug2: set_newkeys: mode 1 debug1: Entering interactive session for SSH2. debug2: fd 4 setting O_NONBLOCK debug2: fd 5 setting O_NONBLOCK debug1: server_init_dispatch_20 Read error from remote host 157.150.190.9: Connection reset by peer debug1: do_cleanup -- 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/