When looking to join by way of ssh to a server, If you get this answer from the server.
ssh_exchange_identification: Connection closed by remote host
If this happens to you too, first start looking if you are using this format to log in the server
ssh -l [existing-server-user ] [ip-of-the-server]
or
ssh [existing-server-user]@[ip-of-the-server]
Then, and here it was my problem, be sure you have correctly set your
/etc/hosts.allow
and/etc/hosts.deny
mine was
hosts.allow
# # /etc/hosts.allow # # End of file
which was O.K.
hosts.deny
# # /etc/hosts.deny # ALL: ALL: DENY # End of file
Use this only as your last resort, and only if you also have a firewall protecting your server, this is dangerous to apply, and if you do, try to go back to the previous (default) configuration as soon as possible.
Disclaimer : We are not responsible for and damage (if any) use it at your own risk. If you like our works then consider to digg the story and help us by spreading the words.
For more ihelplounge iPhone News, iPhone Help iPhone Firmware, iPhone Accessories, and
iPhone Jailbreak coverage:
- Follow ihelplounge on twitter
- Subscribe to our Feed
- Become a Fan on Facebook
-
Subscribe to our YouTube Channel
Follow us on Twitter, subscribe to our Facebook Page, find us on LinkedIn