• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Configure sshd to deny ip trying multiple authentication

E

ergos

Guest
Hi all,
I discovered from the logs various ip trying to ssh inside my box.

I have set up a more restrictive firewall rule but I need a way to have sshd automatically ban an ip that tries to log-in using diffrent account name or doing the authentication too many times.

Any idea how to do this?

Thanks in adavance.
 
I found out about DenyHosts before I found Fail2Ban, but I like Fail2Ban better as it creates iptables rules to block attackers instead of adding entries to /etc/hosts.deny. Either will do the job though.
 
APF firewall with the BFD addon. Blocks all sorts of attempts to my servers.
 
Back
Top