You already set the bantime to 600, so of course it will not ban for months. You will need to manually ban the IP. If using iptables:
iptables -I INPUT -s -j DROP

On Sun, Dec 8, 2013 at 8:03 PM, Roman Gelfand <> wrote:
I have set the bantime for ssh rule for 600 secs.  If there are going
to be 6 occurrences by 600, I would like to ban the ip for good or at
least for couple of months.  Is there a way to do that?

Thanks in advance

Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
Fail2ban-users mailing list