Skip to content
Advertisement

Tag: fail2ban

how to customize ssh log?

Goals of my ask: Implement a fail2ban which ban user. (For this I have a solution) Work environment: I connect to my machines with ssh-key protect with a password When a user type a wrong password for his ssh-key thrice I want to ban it for prevent attack Fail2ban parsed logs in /var/log/messages. Actually I have enable LogLevel DEBUG2 on

fail2ban regex stopped working [Debian 8 – Jessie]

So after my last apt-get update && apt-get upgrade && apt-get dist-upgrade my Fail2Ban got upgraded to 0.9.5 without any problems and I double checked the configurations but it seems as if it’s not working anymore. Here are some logs from failed logins in my /var/log/auth.log Normally such a try should be recognized by fail2ban. I double checked the fail2ban

Advertisement