ssh from linux randomly hangs
Can Ekingen
ekingen@un.org
Thu Jun 4 16:29:00 GMT 2009
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@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/
More information about the Cygwin
mailing list