sudo apt install fail2ban
Category: Self-Hosting
sudo apt install fail2ban
Install Fail2ban — monitors logs and automatically bans IPs with too many failed login attempts
Installs Fail2ban, a daemon that watches log files for repeated failed authentication attempts and bans offending IPs via iptables rules.