Harassed by ssh connection attempts, how to make fail2ban more strict?
Just change the bantime
to whatever time period you want, or -1 to ban forever.
bantime
is expressed as a number of seconds, or -1. Recent versions (I think 0.9.x or later) accept suffixes for longer time periods, such as m
inute, h
our, d
ay, or w
eek.