查看Fail2Ban状态
fail2ban-client status
连续输错5次密码模拟暴力破解攻击
查看fail2ban禁用列表,可以看到ip已经被封禁
fail2ban-client banned
解除封禁
fail2ban-client set sshd unbanip 139.162.13.30
2024-11-06 07:42:29
查看Fail2Ban状态
fail2ban-client status
连续输错5次密码模拟暴力破解攻击
查看fail2ban禁用列表,可以看到ip已经被封禁
fail2ban-client banned
解除封禁
fail2ban-client set sshd unbanip 139.162.13.30