Skip to content

Instantly share code, notes, and snippets.

@captainGeech42
Created July 12, 2020 00:37
Show Gist options
  • Save captainGeech42/866b1a3930015e6592b6c045945c7fbd to your computer and use it in GitHub Desktop.
Save captainGeech42/866b1a3930015e6592b6c045945c7fbd to your computer and use it in GitHub Desktop.
SSH fail2ban jail config
[sshd]
enabled = true
port = 31337
filter = sshd
logpath = /var/log/auth.log
maxretry = 3
findtime = 60
bantime = 1800
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment