官网:
http://denyhosts.sourceforge.net/
CentOS 6.x
rpm -Uvh http://mirror.metrocast.net/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
yum -y install denyhosts
CentOS 5.x
rpm -Uvh http://mirror.metrocast.net/fedora/epel/5/i386/epel-release-5-4.noarch.rpm
yum -y install denyhosts
安装之后的配置
1. 随机器自动启动
chkconfig --add denyhosts
chkconfig denyhosts on
2. 配置denyhosts
vi /etc/denyhosts.conf
修改有入侵请求时发送邮件的对象
扩展阅读