I like to use a limit rule (ufw limit 22&#x2F;tcp) for SSH, to discourage brute force attacks. If nothing else, it will help reduce the noise in the log files.<p>This isn&#x27;t a replacement for basic precautions such as disabling root login and not allowing password authentication, of course.