This does not even need a “how to” on Ubuntu, the process is terribly simple. $ sudo apt-get install fail2ban That is all it takes to setup fail2ban monitoring on ssh. If you would like more jails/monitors, modification to the config is required. Tagged:14.0416.04