ssh hang issue

Mark Musone mmusone at shatterit.com
Wed May 11 13:26:43 EDT 2005


Reverse DNS lookups on the remote machine???

routing issues on the remote machine/network ???

ARP issues ??

 

how about a tcpdump or an ethereal trace so we (you) can see whats going on
with the network level

 

also how about stracing the sshd and seeing whats going on on the processes
level?

 

-Mark

 

 

-----Original Message-----
From: owner-nflug at nflug.org [mailto:owner-nflug at nflug.org] On Behalf Of
Dennis Ruzeski
Sent: Wednesday, May 11, 2005 12:42 PM
To: nflug at nflug.org
Subject: ssh hang issue

 

I have ssh set up with authorized keys (no password required.)

 

Basically, I replaced a server with another- Added it to the authorized keys
list and set it up just like the old server but it hangs (as shown here by
ssh -v -v )

 

debug2: bits set: 517/1024

debug1: SSH2_MSG_KEX_DH_GEX_INIT sent

debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY

debug2: key_type_from_name: unknown key type '1024'

debug2: key_type_from_name: unknown key type '1024'

debug1: Host 'j23' is known and matches the RSA host key.

debug1: Found key in /root/.ssh/known_hosts:342

debug2: bits set: 494/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: SSH2_MSG_SERVICE_REQUEST sent

debug2: service_accept: ssh-userauth

debug1: SSH2_MSG_SERVICE_ACCEPT received

debug2: key: /root/.ssh/id_rsa ((nil))

debug2: key: /root/.ssh/id_dsa (0x808d9b0)

debug1: Authentications that can continue:
publickey,password,keyboard-interactive

debug1: Next authentication method: publickey

debug1: Trying private key: /root/.ssh/id_rsa

debug1: Offering public key: /root/.ssh/id_dsa

debug2: we sent a publickey packet, wait for reply

 

 

It'll sit like that for a good 3-4 minutes and then complete ok. 

 

Anybody see this before?

 

TIA, 

Dennis

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nflug.org/pipermail/nflug/attachments/20050511/729266e8/attachment-0001.html


More information about the nflug mailing list