SSH hanging

Having trouble gettin in via SSH... even tried telnet but nothing.... asks for login and password but thats all it does.... i had the server booted into single user mode and we changed root from bin/bash to bin/ksh, started network so it can be connected to remotly and started up services...

Unfortunatly no one is able to figure out why SSH is not working.

root@arch [~]# ssh -v xxxxxxxxx
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: Connecting to xxxxxxxxxxx port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.6.1p2
debug1: match: OpenSSH_3.6.1p2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.6.1p2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host xxxxxxxxx is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:16
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password

and thats as far as it gets.


I check the process

# lsof -p 26386
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sshd 26386 sshd cwd DIR 3,5 4096 324483 /var/empty/sshd
sshd 26386 sshd rtd DIR 3,5 4096 324483 /var/empty/sshd
sshd 26386 sshd txt REG 3,3 268956 210989 /usr/sbin/sshd
sshd 26386 sshd mem REG 3,7 976284 336056 /lib/libcrypto.so.0.9.7a
sshd 26386 sshd mem REG 3,3 5540 746379 /usr/kerberos/lib/libcom_err.so.3.0
sshd 26386 sshd mem REG 3,3 28228 632919 /usr/lib/libwrap.so.0.7.6
sshd 26386 sshd mem REG 3,7 1571840 64002 /lib/tls/libc-2.3.2.so
sshd 26386 sshd mem REG 3,7 106920 336057 /lib/ld-2.3.2.so
sshd 26386 sshd mem REG 3,7 76560 336048 /lib/libresolv-2.3.2.so
sshd 26386 sshd mem REG 3,3 72552 746389 /usr/kerberos/lib/libk5crypto.so.3.0
sshd 26386 sshd mem REG 3,7 12564 336054 /lib/libutil-2.3.2.so
sshd 26386 sshd mem REG 3,7 91060 336020 /lib/libnsl-2.3.2.so
sshd 26386 sshd mem REG 3,7 51972 336036 /lib/libnss_files-2.3.2.so
sshd 26386 sshd mem REG 3,3 385252 746399 /usr/kerberos/lib/libkrb5.so.3.1
sshd 26386 sshd mem REG 3,7 14888 336016 /lib/libdl-2.3.2.so
sshd 26386 sshd mem REG 3,3 52584 632827 /usr/lib/libz.so.1.1.4
sshd 26386 sshd mem REG 3,3 76712 746385 /usr/kerberos/lib/libgssapi_krb5.so.2.2
sshd 26386 sshd mem REG 3,7 8548 336068 /lib/liblaus.so.1.0.0
sshd 26386 sshd mem REG 3,7 30488 336132 /lib/libpam.so.0.75
sshd 26386 sshd mem CHR 1,5 71505 /dev/zero
sshd 26386 sshd mem CHR 1,5 71505 /dev/zero
sshd 26386 sshd 0u CHR 1,3 65527 /dev/null
sshd 26386 sshd 1u CHR 1,3 65527 /dev/null
sshd 26386 sshd 2u CHR 1,3 65527 /dev/null
sshd 26386 sshd 3u unix 0xed09a180 5933553 socket
sshd 26386 sshd 4u IPv4 5933551 TCP xxxxxxSSH hangingsh->xxxxxxxxx:60476 (ESTABLISHED)
sshd 26386 sshd 10w FIFO 0,5 5933552 pipe


im lost, why is ssh not working ? SSH hanging

 

 

 

 

Top