Unable to connect via SSH

Discussion in 'Server Operation' started by neil6179, Feb 20, 2007.

  1. neil6179

    neil6179 New Member

    Hello all,

    I am trying to connect to one of my servers in a data centre via SSH, but as of this morning I seem unable to. Can anyone explain to me where the problem may be, based on the output below from the client.

    The client hangs for a few minutes after 'debug1: SSH2_MSG_KEXINIT sent', before the connection being closed. This happens from all my machines so I'm assuming it's not a problem with the client.

    The client is a Ubuntu 6.06 box and the server is Mac OS X 10.3 (pretending to be a UNIX box).

    [email protected]:~$ ssh -vvv [email protected]
    OpenSSH_4.2p1 Debian-7ubuntu3, OpenSSL 0.9.8a 11 Oct 2005
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: Applying options for *
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to www.example.com [] port 22.
    debug1: Connection established.
    debug1: identity file /home/neil/.ssh/identity type -1
    debug1: identity file /home/neil/.ssh/id_rsa type -1
    debug1: identity file /home/neil/.ssh/id_dsa type -1
    debug1: Remote protocol version 2.0, remote software version OpenSSH_3.6.1p1+CAN-2004-0175
    debug1: match: OpenSSH_3.6.1p1+CAN-2004-0175 pat OpenSSH_3.*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_4.2p1 Debian-7ubuntu3
    debug2: fd 3 setting O_NONBLOCK
    debug1: SSH2_MSG_KEXINIT sent
    Connection closed by

    Any help would be much appreciated as I'm unable to connect to the server via any other method.

  2. falko

    falko Super Moderator ISPConfig Developer

    I don't see any errors in the output.
    Maybe you should reset the system and try a new login after it has come up again? If that doesn't help - do you have a rescue system on the server that you can boot into to repair the system (and to scan it for malware/rootkits/trojans...)?

Share This Page