ssh closes connection

Discussion in 'macOS' started by Trekker182, Nov 14, 2008.

  1. Trekker182 macrumors newbie

    Joined:
    Nov 14, 2008
    #1
    When anyone or even myself locally tries to ssh into my mac-mini, it says connection closed by and then the local IP of my mini. Remote login is turned on and it used to work, but its a work computer so I don't remember exactly at what point ssh started not to work.

    I did a ssh -vvv localhost and here's what I got...

    OpenSSH_5.1p1, OpenSSL 0.9.7l 28 Sep 2006
    debug1: Reading configuration data /etc/ssh_config
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to localhost [::1] port 22.
    debug1: Connection established.
    debug1: identity file /Users/Support/.ssh/identity type -1
    debug1: identity file /Users/Support/.ssh/id_rsa type -1
    debug1: identity file /Users/Support/.ssh/id_dsa type -1
    debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1
    debug1: match: OpenSSH_5.1 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_5.1
    debug2: fd 3 setting O_NONBLOCK
    debug1: An invalid name was supplied
    Configuration file does not specify default realm

    debug1: An invalid name was supplied
    Configuration file does not specify default realm

    debug1: SSH2_MSG_KEXINIT sent
    Connection closed by ::1

    I'm running OS X 10.4. Any ideas?

    Thanks.
     
  2. belvdr macrumors 601

    Joined:
    Aug 15, 2005
    #2
    From the appearance of it, it appears you may be trying to use Kerberos to authenticate. What's your sshd_config look like?
     

Share This Page