Denyhosts: Add IP to whitelist

Bschelst/ August 7, 2017/ Linux/ 0 comments

Create a file ‘allowed-hosts’ in the ‘work_dir’ (can be found in the denyhosts.conf file), which isĀ /var/lib/denyhosts on Ubuntu, containing the ip.
See the example below:

cat <> /var/lib/denyhosts/allowed-hosts 
Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>