|
@@ -63,3 +63,7 @@ via SSH and use `iptables` to ban them automatically.
|
|
|
`sudo apt install fail2ban`, `systemctl enable fail2ban` and
|
|
|
`systemctl start fail2ban`. The default configuration can ban the brute
|
|
|
force attack on SSH.
|
|
|
+
|
|
|
+If you still think the kids are too noisy, modify `/etc/fail2ban/jail.conf`
|
|
|
+and set `bantime = 233333` to ban them for a longer time. But I suggest
|
|
|
+you to set `.ssh/authorized_keys` at first so you won't ban yourself.
|