Extend Fail2ban to send text messages every time a user/bot gets banned
To prevent scripts from brute forcing their way into my VPS via SSH I use Fail2ban. It's a tool that checks the logs for password failures and set IP rules that blocks that user's IP for a given time. I have it already set up to send emails (one of…