remove fail2ban duplicate sshd jail specification and enable aggressive mode which includes ddos and extra filters (#1364)

This commit is contained in:
Brook Miles 2023-12-11 20:48:04 +09:00 committed by GitHub
parent 4f4b1e6935
commit e21f2fda03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -42,11 +42,7 @@ sendername = Fail2Ban
[sshd]
enabled = true
port = 22
[sshd-ddos]
enabled = true
filter = sshd
port = 22
mode = aggressive
```
Finally, restart fail2ban: