3 ms·You could have the firewall log connection attempts on port 22 and plug that into fail2ban.by ses1984 6y agoYou could have the firewall log connection attempts on port 22 and plug that into fail2ban.