<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
Have you tried waiting a while? It may be a reverse DNS lookup is failing (trying to get a name to log the connection). In which case, it will respond and let you in when it finally times out. I believe the default timeout is 45 seconds. But I've seen some hang as long as two/three minutes.
<br />
<br />
<br />Chuck
<br /><font size="2">
<br />
<br /><b>---------- Original Message
-----------</b>
<br />
From: Gerald Waugh <gwaugh@raqware.com>
<br />
To: coba-e <coba-e@bluequartz.org>, BlueOnyx General Mailing List
<blueonyx@blueonyx.it>
<br />
Sent: Wed, 17 Feb 2010 11:15:38 -0500
<br />
Subject: [BlueOnyx:03606] ssh hangs after password
<br />
<br />> Excuse the cross post, looking for an answer.
<br />>
ssh into the server, enter password, and hangs.
<br />>
Tried with putty and a Linux PC terminal session,
<br />>
<br />>
Can't even ^C out, have to close the terminal session.
<br />>
here is a debug output of the connection.
<br />>
<br />>
>[root@s3 ~]# ssh -vvv -p20200 admin@s5.inscomp.net
<br />>
>OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
<br />>
>debug1: Reading configuration data /etc/ssh/ssh_config
<br />>
>debug1: Applying options for *
<br />>
>debug2: ssh_connect: needpriv 0
<br />>
>debug1: Connecting to s5.inscomp.net [66.121.54.249] port 20200.
<br />>
>debug1: Connection established.
<br />>
>debug1: permanently_set_uid: 0/0
<br />>
>debug1: identity file /root/.ssh/identity type -1
<br />>
>debug1: identity file /root/.ssh/id_rsa type -1
<br />>
>debug1: identity file /root/.ssh/id_dsa type -1
<br />>
>debug1: Remote protocol version 2.0, remote software version
<br />>
>OpenSSH_3.9p1
<br />>
>debug1: match: OpenSSH_3.9p1 pat OpenSSH*
<br />>
>debug1: Enabling compatibility mode for protocol 2.0
<br />>
>debug1: Local version string SSH-2.0-OpenSSH_3.9p1
<br />>
>debug2: fd 3 setting O_NONBLOCK
<br />>
>debug1: SSH2_MSG_KEXINIT sent
<br />>
>debug1: SSH2_MSG_KEXINIT received
<br />>
>debug2: kex_parse_kexinit:
<br />>
>diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
<br />>
>debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
<br />>
>debug2: kex_parse_kexinit:
<br />>
>aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
<br />>
>debug2: kex_parse_kexinit:
<br />>
>aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
<br />>
>debug2: kex_parse_kexinit:
<br />>
>hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
<br />>
>debug2: kex_parse_kexinit:
<br />>
>hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
<br />>
>debug2: kex_parse_kexinit: none,zlib
<br />>
>debug2: kex_parse_kexinit: none,zlib
<br />>
>debug2: kex_parse_kexinit:
<br />>
>debug2: kex_parse_kexinit:
<br />>
>debug2: kex_parse_kexinit: first_kex_follows 0
<br />>
>debug2: kex_parse_kexinit: reserved 0
<br />>
>debug2: kex_parse_kexinit:
<br />>
>diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
<br />>
>debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
<br />>
>debug2: kex_parse_kexinit:
<br />>
>aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
<br />>
>debug2: kex_parse_kexinit:
<br />>
>aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
<br />>
>debug2: kex_parse_kexinit:
<br />>
>hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
<br />>
>debug2: kex_parse_kexinit:
<br />>
>hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
<br />>
>debug2: kex_parse_kexinit: none,zlib
<br />>
>debug2: kex_parse_kexinit: none,zlib
<br />>
>debug2: kex_parse_kexinit:
<br />>
>debug2: kex_parse_kexinit:
<br />>
>debug2: kex_parse_kexinit: first_kex_follows 0
<br />>
>debug2: kex_parse_kexinit: reserved 0
<br />>
>debug2: mac_init: found hmac-md5
<br />>
>debug1: kex: server->client aes128-cbc hmac-md5 none
<br />>
>debug2: mac_init: found hmac-md5
<br />>
>debug1: kex: client->server aes128-cbc hmac-md5 none
<br />>
>debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
<br />>
>debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
<br />>
>debug2: dh_gen_key: priv key bits set: 124/256
<br />>
>debug2: bits set: 513/1024
<br />>
>debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
<br />>
>debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
<br />>
>debug3: check_host_in_hostfile: filename /root/.ssh/known_hosts
<br />>
>debug3: check_host_in_hostfile: match line 5
<br />>
>debug3: check_host_in_hostfile: filename /root/.ssh/known_hosts
<br />>
>debug3: check_host_in_hostfile: match line 1
<br />>
>debug1: Host 's5.inscomp.net' is known and matches the RSA host key.
<br />>
>debug1: Found key in /root/.ssh/known_hosts:5
<br />>
>debug2: bits set: 500/1024
<br />>
>debug1: ssh_rsa_verify: signature correct
<br />>
>debug2: kex_derive_keys
<br />>
>debug2: set_newkeys: mode 1
<br />>
>debug1: SSH2_MSG_NEWKEYS sent
<br />>
>debug1: expecting SSH2_MSG_NEWKEYS
<br />>
>debug2: set_newkeys: mode 0
<br />>
>debug1: SSH2_MSG_NEWKEYS received
<br />>
>debug1: SSH2_MSG_SERVICE_REQUEST sent
<br />>
>debug2: service_accept: ssh-userauth
<br />>
>debug1: SSH2_MSG_SERVICE_ACCEPT received
<br />>
>debug2: key: /root/.ssh/identity ((nil))
<br />>
>debug2: key: /root/.ssh/id_rsa ((nil))
<br />>
>debug2: key: /root/.ssh/id_dsa ((nil))
<br />>
>debug1: Authentications that can continue:
<br />>
>publickey,gssapi-with-mic,password
<br />>
>debug3: start over, passed a different list
<br />>
>publickey,gssapi-with-mic,password
<br />>
>debug3: preferred
<br />>
>gssapi-with-mic,publickey,keyboard-interactive,password
<br />>
>debug3: authmethod_lookup gssapi-with-mic
<br />>
>debug3: remaining preferred: publickey,keyboard-interactive,password
<br />>
>debug3: authmethod_is_enabled gssapi-with-mic
<br />>
>debug1: Next authentication method: gssapi-with-mic
<br />>
>debug3: Trying to reverse map address 66.121.54.249.
<br />>
>debug2: we sent a gssapi-with-mic packet, wait for reply
<br />>
>debug1: Authentications that can continue:
<br />>
>publickey,gssapi-with-mic,password
<br />>
>debug2: we sent a gssapi-with-mic packet, wait for reply
<br />>
>debug1: Authentications that can continue:
<br />>
>publickey,gssapi-with-mic,password
<br />>
>debug2: we did not send a packet, disable method
<br />>
>debug3: authmethod_lookup publickey
<br />>
>debug3: remaining preferred: keyboard-interactive,password
<br />>
>debug3: authmethod_is_enabled publickey
<br />>
>debug1: Next authentication method: publickey
<br />>
>debug1: Trying private key: /root/.ssh/identity
<br />>
>debug3: no such identity: /root/.ssh/identity
<br />>
>debug1: Trying private key: /root/.ssh/id_rsa
<br />>
>debug3: no such identity: /root/.ssh/id_rsa
<br />>
>debug1: Trying private key: /root/.ssh/id_dsa
<br />>
>debug3: no such identity: /root/.ssh/id_dsa
<br />>
>debug2: we did not send a packet, disable method
<br />>
>debug3: authmethod_lookup password
<br />>
>debug3: remaining preferred: ,password
<br />>
>debug3: authmethod_is_enabled password
<br />>
>debug1: Next authentication method: password
<br />>
>admin@host.domain.tld's password:
<br />>
>debug3: packet_send2: adding 48 (len 61 padlen 19 extra_pad 64)
<br />>
>debug2: we sent a password packet, wait for reply
<br />>
>debug1: Authentication succeeded (password).
<br />>
>debug1: channel 0: new [client-session]
<br />>
>debug3: ssh_session2_open: channel_new: 0
<br />>
>debug2: channel 0: send open
<br />>
>debug1: Entering interactive session.
<br />>
>debug2: callback start
<br />>
>debug2: client_session2_setup: id 0
<br />>
>debug2: channel 0: request pty-req confirm 0
<br />>
>debug3: tty_make_modes: ospeed 38400
<br />>
>debug3: tty_make_modes: ispeed 38400
<br />>
>debug3: tty_make_modes: 1 3
<br />>
>debug3: tty_make_modes: 2 28
<br />>
>debug3: tty_make_modes: 3 127
<br />>
>debug3: tty_make_modes: 4 21
<br />>
>debug3: tty_make_modes: 5 4
<br />>
>debug3: tty_make_modes: 6 255
<br />>
>debug3: tty_make_modes: 7 255
<br />>
>debug3: tty_make_modes: 8 17
<br />>
>debug3: tty_make_modes: 9 19
<br />>
>debug3: tty_make_modes: 10 26
<br />>
>debug3: tty_make_modes: 12 18
<br />>
>debug3: tty_make_modes: 13 23
<br />>
>debug3: tty_make_modes: 14 22
<br />>
>debug3: tty_make_modes: 18 15
<br />>
>debug3: tty_make_modes: 30 0
<br />>
>debug3: tty_make_modes: 31 0
<br />>
>debug3: tty_make_modes: 32 0
<br />>
>debug3: tty_make_modes: 33 0
<br />>
>debug3: tty_make_modes: 34 0
<br />>
>debug3: tty_make_modes: 35 0
<br />>
>debug3: tty_make_modes: 36 1
<br />>
>debug3: tty_make_modes: 37 0
<br />>
>debug3: tty_make_modes: 38 1
<br />>
>debug3: tty_make_modes: 39 1
<br />>
>debug3: tty_make_modes: 40 0
<br />>
>debug3: tty_make_modes: 41 1
<br />>
>debug3: tty_make_modes: 50 1
<br />>
>debug3: tty_make_modes: 51 1
<br />>
>debug3: tty_make_modes: 52 0
<br />>
>debug3: tty_make_modes: 53 1
<br />>
>debug3: tty_make_modes: 54 1
<br />>
>debug3: tty_make_modes: 55 1
<br />>
>debug3: tty_make_modes: 56 0
<br />>
>debug3: tty_make_modes: 57 0
<br />>
>debug3: tty_make_modes: 58 0
<br />>
>debug3: tty_make_modes: 59 1
<br />>
>debug3: tty_make_modes: 60 1
<br />>
>debug3: tty_make_modes: 61 1
<br />>
>debug3: tty_make_modes: 62 0
<br />>
>debug3: tty_make_modes: 70 1
<br />>
>debug3: tty_make_modes: 71 0
<br />>
>debug3: tty_make_modes: 72 1
<br />>
>debug3: tty_make_modes: 73 0
<br />>
>debug3: tty_make_modes: 74 0
<br />>
>debug3: tty_make_modes: 75 0
<br />>
>debug3: tty_make_modes: 90 1
<br />>
>debug3: tty_make_modes: 91 1
<br />>
>debug3: tty_make_modes: 92 0
<br />>
>debug3: tty_make_modes: 93 0
<br />>
>debug2: channel 0: request shell confirm 0
<br />>
>debug2: fd 3 setting TCP_NODELAY
<br />>
>debug2: callback done
<br />>
>debug2: channel 0: open confirm rwindow 0 rmax 32768
<br />>
>debug2: channel 0: rcvd adjust 131072
<br />>
<br />>
Hangs here!
<br />>
<br />>
_______________________________________________
<br />>
Blueonyx mailing list
<br />>
Blueonyx@blueonyx.it
<br />>
<a target="_blank" href="http://www.blueonyx.it/mailman/listinfo/blueonyx">http://www.blueonyx.it/mailman/listinfo/blueonyx</a>
<br /><b>------- End of Original Message
-------</b>
<br />
</font>
</BODY>
</HTML>