Tuesday, September 6, 2011

hypervm adding ip to /etc/hosts.deny

Advertisements

You may get this error while sshing to a ip
ssh_exchange_identification: Connection closed by remote host

It could be because of many reasons. One of them is hypervm adding the ips to /etc/hosts.deny file.
It will add the ip again if you remove it from /etc/hosts.deny.

The solution is after removing the ip, run this command

chattr +i /etc/hosts.deny

No comments:

Post a Comment

Be nice. That's all.