How to Disable Root Login over SSH and Harden sshd_config (Ubuntu, Debian, RHEL)
Step-by-step guide to disable SSH root login, switch to key-based authentication and harden sshd_config on Ubuntu, Debian, AlmaLinux and Rocky Linux without locking yourself out.