Unix PAM: ssh authentication with Yubico OTP and Google Authenticator

/

Login should be done with 2FO. My preferred way is to use my YubiKey.
As a fallback I want to use the Google Authenticator. It is needed when you need to use a ssh client on the phone for example.

This blog post describes the the configuration of a Yubikey, pam_yubico and pam_google_authenticator

Read More