Enable aggressive mode on fail2ban

This commit is contained in:
Michal Čihař 2020-03-12 11:34:41 +01:00
parent 23a129e403
commit 46d564de7d

View file

@ -5,3 +5,8 @@ systemctl restart sshd

apt update
apt install -y fail2ban

cat > /etc/fail2ban/jail.d/sshd.conf <<EOT
[sshd]
mode = aggressive
EOT