denyhosts: remove!

Anyone of you using denyhosts?
It works quite well, but I regularly need to remove some false positives. Manually. And that sucks.

Manually removing an IP

To remove a false positive you need to remove the IP from the following files:

/etc/hosts.deny

$DENYHOSTS/hosts

$DENYHOSTS/hosts-restricted

$DENYHOSTS/hosts-root

$DENYHOSTS/hosts-valid

$DENYHOSTS/users-hosts

with $DENYHOSTS being the working directory of denyhosts, in Debian’s case it is /var/lib/denyhosts/. Open every file, search for $IP, remove the line. As soon as you have a few users that do not get used to using SSH keys this workaround gets annoying quite quick..