Whitelist an IP using denyhosts in CentOS 6 RHEL 6

Hi there,

Add your IP to this file and restart if you want to whitelist an IP in denyhosts:


/var/lib/denyhosts/allowed-hosts

Also make sure to check the /etc/hosts.deny file for the IP if it’s already been blocked.

Then restart


service denyhosts restart

Yo

Mm.,