Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



ssh_exchange_identification: Connection closed by remote host

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 28-07-2009
Member
 
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..

Reply With Quote
  #2  
Old 28-07-2009
Member
 
Join Date: May 2008
Posts: 4,080
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...
Reply With Quote
  #3  
Old 28-07-2009
Member
 
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..
Reply With Quote
  #4  
Old 28-07-2009
Member
 
Join Date: Apr 2008
Posts: 3,291
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!
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "ssh_exchange_identification: Connection closed by remote host"
Thread Thread Starter Forum Replies Last Post
CentOS 5.5: Error message ?ssh_exchange_identification: Connection closed by remote host? Mythrie Operating Systems 5 04-05-2011 10:49 AM
Opera Mini 10.63 Error: Connection closed by remote server Maia Technology & Internet 5 30-12-2010 07:44 PM
Connection closed by remote host : ssh_exchange_identification Volodymyra Technology & Internet 2 28-05-2009 01:14 PM
The underlying connection was closed: The connection was closed unexpectedly. Theodore Long Small Business Server 3 02-09-2008 03:10 PM
Remote desktop connection from Windows Vista Home Premium client to Windows xp Professional host Animeniac Windows Software 2 17-08-2008 11:14 AM


All times are GMT +5.5. The time now is 10:51 AM.