Raspberry Pi SSH security – Fail2ban
There are a lot of shady people on the internet, scanning IP ranges for vulnerable machines/raspberry pi’s.
With a simple program called Fail2ban you can kick out the bruteforcers.
After 6 failedssh login’s the IP of the client will be blocked by default for 10 minutes.
Your raspberry pi is a lot safer now!
sudo apt-get update [ENTER] sudo apt-get install fail2ban [enter]
Now fail2ban is installed! Easy isn’t it ?
You can change settings @ /etc/fail2ban/jail.conf
1st picture are the common settings, 2nd picture is specific for SSH.