Why disable SSH password authentication entirely?
BeginnerProductionSSH & Access Hardening
Answer
Every internet-facing SSH port receives constant brute-force and credential-stuffing attempts. With only key (or certificate) authentication, guessing is infeasible, and stolen passwords from other breaches are useless. It also removes the need for complex password policies on servers. Check effective settings with sudo sshd -T | grep -E 'passwordauth|permitroot'.
More on SSH & Access Hardening
What are the first sshd_config changes you make on a new production server?BeginnerWhy use a drop-in file in /etc/ssh/sshd_config.d/ instead of editing sshd_config?IntermediateShould you change the SSH port from 22?IntermediateWhat are SSH certificates and why do large fleets use them?AdvancedHow do you restrict what a specific SSH key can do?AdvancedHow do you apply different sshd rules for different users or networks?Intermediate