vi /etc/pam.d/sshd auth required pam_tally2.so deny=5 unlock_time=86400 失败5次,禁止访问24小时 systemctl restart sshd