Terminal SSH not connecting?
Forgive me if this isn't the best place for this question, but it's mostly Greek to me. I've been able to log into my remote server using the "ssh root@domain.com" command from Terminal. Within moments I get the "password" prompt and all is well.
Recently, something is choking and I have no clue where to start looking. I type the ssh command and nothing happens for a minute or two, and then there's the message "Connection closed by nn.nnn.nnn.nnn" (the IP address). Blammo.
The verbose log follows. Any clues? Thanks to all in advance.
==========
Last login: Fri Feb 22 21:31:00 on ttyp1
Welcome to Darwin!
[MyComputer:~] shortname% ssh root@domain.com -v
OpenSSH_4.5p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to domain.com [nn.nnn.nnn.nnn] port 22.
debug1: Connection established.
debug1: identity file /Users/shortname/.ssh/identity type -1
debug1: identity file /Users/shortname/.ssh/id_rsa type -1
debug1: identity file /Users/shortname/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1 FreeBSD-20030924
debug1: match: OpenSSH_3.5p1 FreeBSD-20030924 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.5
debug1: Miscellaneous failure
No credentials cache found
debug1: Miscellaneous failure
No credentials cache found
debug1: SSH2 MSGKEXINIT sent
debug1: SSH2 MSGKEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2 MSG_KEX_DH_GEXREQUEST(1024<1024<8192) sent
debug1: expecting SSH2 MSG_KEX_DH_GEXGROUP
debug1: SSH2 MSG_KEX_DH_GEXINIT sent
debug1: expecting SSH2 MSG_KEX_DH_GEXREPLY
debug1: Host 'domain.com' is known and matches the DSA host key.
debug1: Found key in /Users/shortname/.ssh/known_hosts:2
debug1: ssh dssverify: signature correct
debug1: SSH2 MSGNEWKEYS sent
debug1: expecting SSH2 MSGNEWKEYS
debug1: SSH2 MSGNEWKEYS received
debug1: SSH2 MSG_SERVICEREQUEST sent
debug1: SSH2 MSG_SERVICEACCEPT received
Connection closed by nn.nnn.nnn.nnn
[MyComputer:~] shortname%
Recently, something is choking and I have no clue where to start looking. I type the ssh command and nothing happens for a minute or two, and then there's the message "Connection closed by nn.nnn.nnn.nnn" (the IP address). Blammo.
The verbose log follows. Any clues? Thanks to all in advance.
==========
Last login: Fri Feb 22 21:31:00 on ttyp1
Welcome to Darwin!
[MyComputer:~] shortname% ssh root@domain.com -v
OpenSSH_4.5p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to domain.com [nn.nnn.nnn.nnn] port 22.
debug1: Connection established.
debug1: identity file /Users/shortname/.ssh/identity type -1
debug1: identity file /Users/shortname/.ssh/id_rsa type -1
debug1: identity file /Users/shortname/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1 FreeBSD-20030924
debug1: match: OpenSSH_3.5p1 FreeBSD-20030924 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.5
debug1: Miscellaneous failure
No credentials cache found
debug1: Miscellaneous failure
No credentials cache found
debug1: SSH2 MSGKEXINIT sent
debug1: SSH2 MSGKEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2 MSG_KEX_DH_GEXREQUEST(1024<1024<8192) sent
debug1: expecting SSH2 MSG_KEX_DH_GEXGROUP
debug1: SSH2 MSG_KEX_DH_GEXINIT sent
debug1: expecting SSH2 MSG_KEX_DH_GEXREPLY
debug1: Host 'domain.com' is known and matches the DSA host key.
debug1: Found key in /Users/shortname/.ssh/known_hosts:2
debug1: ssh dssverify: signature correct
debug1: SSH2 MSGNEWKEYS sent
debug1: expecting SSH2 MSGNEWKEYS
debug1: SSH2 MSGNEWKEYS received
debug1: SSH2 MSG_SERVICEREQUEST sent
debug1: SSH2 MSG_SERVICEACCEPT received
Connection closed by nn.nnn.nnn.nnn
[MyComputer:~] shortname%
Powerbook G4 15" 1.25 GHz, Mac OS X (10.4.11)