Ive configured DenyHosts, now what?
If you have several log files (eg. in your /var/log directory you have ssh server logs with .1, .2, … .n) due to log rotation then it is best to process the old files first. This can be done by invoking DenyHosts with the –file= flag: $ python denyhosts.py –file=/var/log/secure.log.1 Additionally, you can process several files at once: $ python denyhosts.py –file=/var/log/secure.log.1 –file=/var/log/secure.log.2 …. –file=/var/log/secure.n Note: You must run DenyHosts as root so that it can read /var/log/ files and update the /etc/hosts.
Related Questions
- I have caches configured with asynchronous replication or distribution, but these caches appear to be behaving synchronously (waiting for responses), what is going on?
- Webserver 6.1 is configured for HTTP compression on demand. Why do I see that requests going through the weblogics proxy plugin (wl_proxy) are not being compressed?
- Ive configured DenyHosts, now what?