MFA
1 pageSSH Key + TOTP: Two-Factor Authentication on Ubuntu 24.04

Goal: SSH login requires your key and a 6-digit code from Google Authenticator (or any TOTP app: Authy, 1Password, Aegis). The setup is a few lines, but three things along the way look like server bugs and aren’t. They’re covered in Troubleshooting. …
Goal: SSH login requires your key and a 6-digit code from Google Authenticator (or any TOTP app: Authy, 1Password, Aegis). The setup is a few lines, but three things along the way look like server bugs and aren’t. They’re covered in Troubleshooting. …