Google Authenticator PAM module
google-authenticator-libpamExample PAM module demonstrating two-factor authentication for logging into servers via SSH, OpenVPN, etc.
Example PAM module demonstrating two-factor authentication for logging into servers via SSH, OpenVPN, etc.
Create ~/.google_authenticator for the current user with non-interactive options. Rate limit and window tuning beyond the basics are left out.
modedisallow_reuseforcelabelissuerwindow_sizeqr_modeemergency_codessecretboolean--time-based-tboolean--disallow-reuse-dboolean--force-fstring--label-lstring--issuer-iinteger--window-size-wpath--secret-senum--qr-mode-Qnoneansiutf8integer--emergency-codes-emanmanualmaster 2026-10-27Before it fills your prompt, Otty checks the installed google-authenticator against its version. A form that does not match your version is not offered.