sudo apt update sudo apt upgrade -y sudo apt install fail2ban -y sudo systemctl start fail2ban #make secure jail config file sudo cp ./fail2baninfo.txt /etc/fail2ban/jail.local sudo systemctl restart fail2ban