Google Two-Factor Authentication

Secure your SSH server login with Google Authenticator

  1. Authentication Bypass

    Floren
    To bypass temporarily the Google two-factor authentication process, use the nullok parameter:
    auth      required    pam_google_authenticator.so nullok user=root secret=/var/lib/google-authenticator/${USER}
    This will allow any user without a TOTP setup enabled to login into server.