LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ssh_exchange_identification: Connection closed by remote host (https://www.linuxquestions.org/questions/linux-networking-3/ssh_exchange_identification-connection-closed-by-remote-host-559785/)

sailu_mvn 06-06-2007 11:19 PM

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.

druuna 06-07-2007 12:22 AM

Hi,

Did the answer to your other ssh thread solve this problem too?

sailu_mvn 06-07-2007 12:28 AM

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

druuna 06-07-2007 12:35 AM

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.

fotoguy 06-08-2007 01:15 AM

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.

AQG 07-09-2008 09:47 AM

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.


All times are GMT -5. The time now is 04:36 PM.