Skip to content

TOTP

1 page
  • SSH Key + TOTP: Two-Factor Authentication on Ubuntu 24.04

    By Dongping Guo In Blog 1731 words 9 min

    Dongping GuoSecuritySSHUbuntuLinuxMFATOTPDevOps

    SSH 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. …