Whenever I log into my Linux server using SSH, I get this error:

ssh_exchange_identification: Connection closed by remote host

How do I fix this?

link|improve this question

55% accept rate
I dont know which OS you use but it looks like an firewall Problem. Can you please give additional informations? – Dennis Wisnia Dec 30 '11 at 15:59
feedback

1 Answer

I would also double check iptables by "sudo iptables -L" to make sure ssh (port 22) isn't blocked.

link|improve this answer
Highly unlikely as socket has been opened successfully but closed shortly for whatever reason. – Sergei Dec 31 '11 at 10:04
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.