Whitelist IP from google-authenticator in sshd pam
- by spudwaffle
My Ubuntu 12.04 server uses the google-authenticator pam module to provide two step authentication for ssh. I need to make it so that a certain IP does not need to type the verification code.
The /etc/pam.d/sshd file is below:
# PAM configuration for the Secure Shell service
# Read environment variables from /etc/environment and
#…