And move SSH to a non-default port. Without that, my public-facing servers get thousands of SSH attacks a day, and it basically goes to zero after moving it to a random-looking high port.
Also, totally agree with using public key login and disable password login.
moldy_rice@piefed.keyboardvagabond.com 2 hours ago
Sub fail2ban for wazuh. It does the same but so much more, and does everything with 0 config after fresh install.