Remove IP blocked by DenyHosts

linux

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/

© 2024 Code0x378