cat <<EOF >> /etc/fail2ban/jail.local[DEFAULT]ignoreip = 127.0.0.1bantime = 86400maxretry = 3findtime = 1800[ssh-iptables]enabled = truefilter = sshdaction = iptables[name=SSH, port=ssh, protocol=tcp]logpath = /var/log/securemaxretry = 5findtime = 3600bantime = 1EOF