Remove IP blocked by DenyHosts

August 3, 2018

Wow, this is annoying….

sudo service denyhosts stop  # or whatever
sudo vim /etc/hosts.deny
sudo vim /var/lib/denyhosts/hosts
sudo vim /var/lib/denyhosts/hosts-restricted
sudo vim /var/lib/denyhosts/hosts-root
sudo vim /var/lib/denyhosts/hosts-valid
sudo vim /var/lib/denyhosts/users-hosts
sudo vim /var/lib/denyhosts/allowed-hosts # optionally add here
sudo service denyhosts start

From https://inrg.soe.ucsc.edu/howto-unblock-an-ip-thats-been-blocked-by-denyhosts/