We first need to know your dist..
As Example
Ubuntu 14.04
For more information on configuration: https://www.digitalocean.com/communi...n-ubuntu-14-04Code:sudo apt-get update sudo apt-get install fail2ban
CentOS 6
For more information on configuration: https://www.digitalocean.com/communi...an-on-centos-6Code:rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm yum install fail2ban