问题描述
服务器Ubuntu 20.04
开启fail2ban
失败,通过journactltl -f
查看日志发现错误ERROR Failed during configuration: Have not found any log file for sshd jail
。大致的原因就是fail2ban
找不到sshd
的日志文件。
Sep 09 09:52:17 test systemd[1]: Starting Fail2Ban Service...
Sep 09 09:52:17 test systemd[1]: Started Fail2Ban Service.
Sep 09 09:52:17 test fail2ban-server[370030]: