mirror of https://github.com/fail2ban/fail2ban
BF: removed sftp from ssh jails
parent
2553e2717a
commit
1cedd8e02b
|
@ -90,7 +90,7 @@ action = %(action_)s
|
||||||
[ssh]
|
[ssh]
|
||||||
|
|
||||||
enabled = true
|
enabled = true
|
||||||
port = ssh,sftp
|
port = ssh
|
||||||
filter = sshd
|
filter = sshd
|
||||||
logpath = /var/log/auth.log
|
logpath = /var/log/auth.log
|
||||||
maxretry = 6
|
maxretry = 6
|
||||||
|
@ -113,7 +113,7 @@ maxretry = 6
|
||||||
[ssh-ddos]
|
[ssh-ddos]
|
||||||
|
|
||||||
enabled = false
|
enabled = false
|
||||||
port = ssh,sftp
|
port = ssh
|
||||||
filter = sshd-ddos
|
filter = sshd-ddos
|
||||||
logpath = /var/log/auth.log
|
logpath = /var/log/auth.log
|
||||||
maxretry = 6
|
maxretry = 6
|
||||||
|
|
Loading…
Reference in New Issue