Files
deploy.stack/etc/fail2ban/jail.d/sshd.local
T

11 lines
223 B
Plaintext
Raw Normal View History

[sshd]
enabled = true
backend = systemd
journalmatch = _SYSTEMD_UNIT=ssh.service + _COMM=sshd + _COMM=sshd-session
maxretry = 3
findtime = 10m
bantime = 24h
bantime.increment = true
bantime.factor = 2
bantime.maxtime = 7d