Fail2Ban автоматически блокирует IP-адреса при подборе паролей.
apt install fail2ban -y dnf install fail2ban -y
fail2ban-client status