In denyhosts versions 2.10 and 3.1 the --purgeip=ip option does not work.
Using "./denyhosts.py --purgeip=8.8.8.8" gives "Invalid command line option detected."
Fixing the argument parsing in denyhosts.py (s/"purgeip"/"purgeip="/) generates:
[Errno 2] No such file or directory
and if the IP matches one in /etc/hosts.evil a huge line of NUL bytes in inserted in the file.
Hi Ian,
You should be able to use the manual method here:
https://www.cyberciti.biz/faq/linux-unix-delete-remove-ip-address-that-denyhosts-blocked/
Let us know,
Robert