Topic
  • 5 replies
  • Latest Post - ‏2013-10-24T16:45:46Z by Wiki_AIX
Miztiik
Miztiik
20 Posts

Pinned topic ssh_exchange_identification : Connection closed by remote host

‏2008-05-29T01:50:18Z |
Hi All

When i try to connect to one of my server i get this error message,
connection failed : "ssh_exchange_identification: Connection closed by remote host"

What could be wrong.
=====================================================
Helping to weave a better web
Updated on 2008-06-03T18:43:51Z at 2008-06-03T18:43:51Z by jnordtome
  • tony.evans
    tony.evans
    412 Posts

    Re: ssh_exchange_identification : Connection closed by remote host

    ‏2008-05-29T11:28:40Z  
    "What could be wrong."

    Hundreds of things. What steps have you so far taken to identify the cause so we don't go over old ground?
  • jnordtome
    jnordtome
    35 Posts

    Re: ssh_exchange_identification : Connection closed by remote host

    ‏2008-05-30T21:53:26Z  
    It looks as if the destination machine can't verify the name of the sending machine through IP lookup. On the destination machine, verify that you can do a reverse lookup of the sending machines IP address.

    i.e. sending machine is called servA with ip 192.168.2.1. On the destination machine, do an "nslookup 192.168.2.1" and verify it returns servA. You should also try "host 192.168.2.1".
  • Miztiik
    Miztiik
    20 Posts

    Re: ssh_exchange_identification : Connection closed by remote host

    ‏2008-06-02T06:21:00Z  
    • jnordtome
    • ‏2008-05-30T21:53:26Z
    It looks as if the destination machine can't verify the name of the sending machine through IP lookup. On the destination machine, verify that you can do a reverse lookup of the sending machines IP address.

    i.e. sending machine is called servA with ip 192.168.2.1. On the destination machine, do an "nslookup 192.168.2.1" and verify it returns servA. You should also try "host 192.168.2.1".
    Yes, the destination can lookup the host.

    ==========================================
    Helping to weave a better web
  • jnordtome
    jnordtome
    35 Posts

    Re: ssh_exchange_identification : Connection closed by remote host

    ‏2008-06-03T18:43:51Z  
    • Miztiik
    • ‏2008-06-02T06:21:00Z
    Yes, the destination can lookup the host.

    ==========================================
    Helping to weave a better web
    You could try running ssh with the verbose option, i.e. "ssh -vvv user@servA"

    Also, if it's possible, you can stop sshd on the destination server and run it from line command with the -d option. This should give a little more information as to what the destination server sees.
  • Wiki_AIX
    Wiki_AIX
    1 Post

    Re: ssh_exchange_identification : Connection closed by remote host

    ‏2013-10-24T16:45:46Z  

     

     

    I  find this link

     

    http://aixblogs.blogspot.mx/2009/04/sshexchangeidentification-connection.html