I'm running Debian Jessie on a VPS.
I want to enable both private key and Google Authenticator to get into the server via SSH.
auth required pam_google_authenticator.so
in both /etc/pam.d/sshd and common-auth
It works when I log in using the "terminal" (using a VNC provided by the VPS provider), but when I ssh in, it just lets me through without prompting me for Google Authenticator.
What else can I do?