Secure Your SSH with Fail2Ban

This is small tool, but powerfull must must try just install fail2ban from repositori and create a new file in /etc/fail2ban/jail.local

# Ban hosts for one year:
bantime = 31536000
# Override /etc/fail2ban/jail.d/00-firewalld.conf:
banaction = iptables-multiport
#sshd if u use centos, ssh if u use debian ubuntu
enabled = true

And make sure not root allowing remote directly in sshd_config option

PermitRootLogin no
Share on Google Plus

About Rolly Maulana Awangga

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment


Post a Comment