Why do people install fail2ban then disable password based authentication entirely? I legitimately don't understand the purpose.
Also, they complain about log spam (from failed SSH attempts) this is one reason to move SSH to a different port. It does NOT increase security, but it DOES reduce log spam from bots trying for easy targets.