Static SSH credentials-passwords or even keys-are increasingly risky. One leaked key or weak passphrase can mean full server compromise.
The solution? Add TOTP-based two-factor authentication. It's lightweight, standards-based, and works with any authenticator app (Google Authenticator, Authy, Raivo, etc.). No external services, no complex tooling.
I walk through enabling TOTP for SSH on modern Ubuntu and Debian systems using the google-authenticator PAM module-covering setup, safe testing lockout. All in five minutes.