title: Google Authenticator PAM with SSH, server and client time difference causing authentication failure
body: <p>I am using the <a href="https://github.com/google/google-authenticator" rel="nofollow">Google authenticator PAM module</a> with SSH login, my setup is working in my local setup, over my home network. But the when I install on public server, the time difference between the server and the client(the Google authenticator android app) is causing failure of OTP verification. I am using time based OTP codes, as the google authenticator PAM wiki says, if I enter the right OTP 3 times consecutively, then the server side PAM module calculates the time skew and corrects it for all future log in, it is working like that. But it will be a pain for every new user to enter the OTP 3 times, is there any work around?</p>
  
  <p>I have OTP verification activated for my Gmail account, and that did not require me to enter the OTP three times. They must have done some changes to the google authenticator PAM module. Any pointers to solve this would be really helpful.</p>