vim /etc/hosts.deny 设置黑名单
sshd:133.125.61.68:deny 例
vim /etc/pam.d/sshd 设置策略,防止暴力破解 (第二行)
#用户错误登陆5次,锁定5分钟auth required pam_tally2.so deny=5 unlock_time=600 even_deny_root root_unlock_time=600