• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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