How can I rotate the DenyHosts logfile (/var/log/denyhosts)?
Assuming that you have logrotate installed on your system and is configured to use the /etc/logrotate.d directory for it’s configuration files then you can simply create a file, /etc/logrotate.d/denyhosts, edit it and save it. If you have a nonstandard DenyHosts installation then you will need to account for this yourself.