LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-06-2007, 11:19 PM   #1
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440
Blog Entries: 1

Rep: Reputation: 30
ssh_exchange_identification: Connection closed by remote host


When am trying to remote login via SSH to a Server , I am getting this error:
-------------------------------------------------------------
ssh_exchange_identification: Connection closed by remote host
-------------------------------------------------------------
I have googled alot for the solution and there i find so many.
Pls give me a perfect solution.
Thanks.
 
Old 06-07-2007, 12:22 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Hi,

Did the answer to your other ssh thread solve this problem too?
 
Old 06-07-2007, 12:28 AM   #3
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Its a machine at Toronto.I have the solution on my previous thread. But still want some more suggestions to try and get the answer.
If I will know wht the problem is, i can call the Toronto guy and make him do it.

Thanks
 
Old 06-07-2007, 12:35 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Hi,

You can get a bit more info by using the -v flag (ssh -v some.remote.box), but I do think that the problem is related to granting access (you can connect to the remote ssh, but identification seems to fail).

Feed LQ search or google with the error message, I bet that some (most?) answers will be pointing to the (remote) host.allow/host.deny file.

Hope this helps.
 
Old 06-08-2007, 01:15 AM   #5
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,286

Rep: Reputation: 62
I have seen this error when you have been denied access through the /etc/hosts.deny file before, maybe there is no entry in the /etc/hosts.allow file to allow you access.
 
Old 07-09-2008, 09:47 AM   #6
AQG
Member
 
Registered: Jun 2005
Distribution: SuSE, Red Hat
Posts: 162

Rep: Reputation: 30
have seen this error when you have been denied access through the /etc/hosts.deny file before, maybe there is no entry in the /etc/hosts.allow file to allow you access.

I had the same issue on OpenSuSE 10.3 and added the following in the /etc/hosts.allow file:

sshd : ALL

But depends to whom do you want to open ssh for.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't SSH to remote machine: Connection closed by remote host Avatar Linux - Networking 35 10-23-2017 12:21 AM
ssh_exchange_identification: Connection closed by remote host piter23 Linux - Software 17 09-11-2013 09:59 AM
rndc: connection to remote host closed. james.farrow Fedora 2 06-16-2004 11:40 AM
ssh_exchange_identification: Connection closed by remote host liguorir Linux - Software 3 09-18-2003 11:42 AM
ssh_exchange_identification: Connection closed by remote host ctav01 Linux - Networking 1 08-22-2003 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration