For best practice to hardening servers we typically install denyhosts to protect our servers. However, sometimes we get accidentally blocked out from our IP address. When we tried removing blocked IP from /etc/hosts.deny, but it did blocked it again quickly. It appears that DenyHosts keeps track of the attempts somewhere on disk or memory. How do we remove own IP address from Deny Hosts?
Simply removing your IP from /etc/hosts.deny does not work since DenyHosts keeps track of the attempts in the /var/lib/denyhosts/ directory. In order to remove your IP address you will need to do the following.
Simply removing your IP from /etc/hosts.deny does not work since DenyHosts keeps track of the attempts in the /var/lib/denyhosts/ directory. In order to remove your IP address you will need to do the following.