Protect Ubuntu With fail2ban

Commands

Check the program out
sudo apt install fail2ban
sudo systemctl daemon-reload
systemctl status fail2ban

Make changes!
cd /etc/fail2ban
Edit in copied files, the originals get overwritten in updates:
sudo cp fail2ban.conf fail2ban.local
sudo cp jail.conf jail.local

fail2ban-client status