SSH密码错误几次后封禁登录IP

#!/bin/bash yum -y install vixie-cron crontabsmkdir -p /usr/local/cron/ cat > /usr/local/cron/sshdeny.sh << "EOF"#!/bin/bashDEFINE="3" cat /var/log/secure|awk '/Failed/{print $(NF-3)}'|sor...

你可能感兴趣的:(LINUX)