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%

Powerbook G4 15" 1.25 GHz, Mac OS X (10.4.11)

Posted on Feb 22, 2008 8:34 PM

Reply
2 replies

Feb 23, 2008 10:52 AM in response to Anthony Cunningham

Tried that, it asked me to establish the authenticity of the host, I said yes, it added the domain to the list of known hosts - and then nothing again. Got the "connection closed by the host" message after a minute or two.

I tried something different, and sent "ssh root@othername.com" (where 'othername' is a site owned by a friend) and it promptly asked for the password (which I don't know so I logged off Terminal). Is it possible the hangup is at my host? I can access all the features of my site normally - I just can't log in via ssh via either root or ftp.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Terminal SSH not connecting?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.