Denyhosts chez Ubuntu 20.04


Malheureusement il n'y a pas de DenyHosts pour Ubuntu 20.04 via apt install.

Just download and set it up manually.


cd /tmp/ && wget

tar xzf *.tar.gz

cd denyHosts*

sudo python install

sudo cp /usr/local/bin/daemon-control-dist /etc/init.d/denyhosts

sudo nano /etc/init.d/denyhosts

Check if:

DENYHOSTS_BIN = “/usr/local/bin/” 
DENYHOSTS_CFG = “/etc/denyhosts.conf”
PYTHON_BIN = “/usr/bin/env python”
nano /etc/denyhosts.conf
# after choosing the right settings
sudo /etc/init.d/denyhosts start

The rest is the same as