安装
sudo yum install fail2ban
sudo apt-get
<!--more-->
install fail2ban
服务状态
systemctl status fail2ban
systemctl restart fail2ban
查看敏感日志:
sudo tail -f /var/log/fail2ban.log
检查 fail2ban 状态
fail2ban-client status
fail2ban-client status sshd
解锁 ip
CodeBlock Loading...
问题记录
Failed during configuration: Have not found any log file for sshd jail #3567
From other point of view it is a configuration issue and can be surely simply fixed using:
CodeBlock Loading...
With other words:
CodeBlock Loading...