Monthly Archive: February 2011

Feb 26

Preventing SSH brute force attacks

Basically denyhosts (written in Python) scans /var/log/secure and fills /etc/hosts.deny based on failed login attempts. On Fedora: ?View Code BASH1 2 3 4 yum install denyhosts vim /etc/denyhosts.conf service denyhosts restart chkconfig denyhosts on Visit: http://denyhosts.sourceforge.net/