Results 1 to 4 of 4

Thread: ssh_exchange_identification: Connection closed by remote host

  1. #1
    Join Date
    Jul 2009
    Posts
    41

    ssh_exchange_identification: Connection closed by remote host

    when I try to ssh to the remote computer, this is what i get and cannot successfully ssh to the remote computer :

    Code:
    name@IBMFB1L0DH home]$ ssh <remote_ip>
    ssh_exchange_identification: Connection closed by remote host
    [paty@PatyHome]$ ssh -vv <remote_ip>
    OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: Applying options for *
    debug1: Rhosts Authentication disabled, originating port will not be trusted.
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to <remote_ip> [<remote_ip>] port 22.
    debug1: Connection established.
    debug1: identity file /home/paty/.ssh/identity type -1
    debug1: identity file /home/paty/.ssh/id_rsa type -1
    debug1: identity file /home/paty/.ssh/id_dsa type -1
    ssh_exchange_identification: Connection closed by remote host
    debug1: Calling cleanup 0x80627f0(0x0)
    
    [paty@PatyHome]$
    My ssh is working properly as i can ssh to the other computer on the network. Any help? Thanks in advance..

  2. #2
    Join Date
    May 2008
    Posts
    4,085

    Re: ssh_exchange_identification: Connection closed by remote host

    Goto to '/etc/' location now check if the computer's address is in any of the files from 'hosts.allow' or 'hosts.deny'. Also if there are too many concurrent connections, this problem can occur. Try this :
    Code:
    /etc/init.d/sshd restart
    Running this code should solve the problem... If this doesn't work, do post back...

  3. #3
    Join Date
    Jul 2009
    Posts
    41

    Re: ssh_exchange_identification: Connection closed by remote host

    I don't think this problem is due to concurrent connections, as i am the only one connecting to the computer. Also i tried different configurations with hosts.allow and hosts.deny settings. also tried with allow all, but still i get the same problem... Any other help? Please help..

  4. #4
    Join Date
    Apr 2008
    Posts
    3,295

    Re: ssh_exchange_identification: Connection closed by remote host

    I think this is a configuration error. Just restart the sshd and have a look at /var/log/messages immediately to see if there is any error reported. Also have a look at your /etc/ssh/sshd_config. May be you would be able to find an error. All the best!

Similar Threads

  1. Replies: 5
    Last Post: 04-05-2011, 10:49 AM
  2. Opera Mini 10.63 Error: Connection closed by remote server
    By Maia in forum Technology & Internet
    Replies: 5
    Last Post: 30-12-2010, 07:44 PM
  3. Connection closed by remote host : ssh_exchange_identification
    By Volodymyra in forum Technology & Internet
    Replies: 2
    Last Post: 28-05-2009, 01:14 PM
  4. Replies: 3
    Last Post: 02-09-2008, 03:10 PM
  5. Replies: 2
    Last Post: 17-08-2008, 11:14 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,237,036.66330 seconds with 17 queries