Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently got problems login into my strato vserver with ssh. Using the mac terminal my Internet-Connection broke up for 1 second. Login in again the server throws back the following error message:

ssh_exchange_identification: Connection closed by remote host

I can connect to the server through a different host name. A reboot doesn't solve the problem. What is the reasons therefore? Are there any ssh deny list or ssh session? Where may I find them to delete them?

share|improve this question
Try with ssh -vvv yourhost to see more debug information. – Janne Pikkarainen May 29 '12 at 11:50
Reinstalled my vserver. It seems the whole server is crashing. It happend again while i was logged in. Can not run any tasks on the shell. Error: "Cannot allocate memory". Login is possible after reboot now. However I cannot find out anything in the logs. It's a ubuntu server. Any ideas in which logs server I may find out reasons? – Manuel Jun 1 '12 at 13:37

Often this is caused by an entry in /etc/hosts.deny due to some previous failed login.

share|improve this answer
/etc/hosts.deny doesn't exist. Seems to be a server crash for any reason – Manuel Jun 1 '12 at 13:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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