Page 3 of 3

Re: sftp google authenticator and two factor authentication

Posted: 2019-03-24, 07:21 UTC
by ghisler(Author)
1. No I didn't, I will check it

2. How do you configure the Linux SSH server to get the verification code first?

Re: sftp google authenticator and two factor authentication

Posted: 2019-03-25, 05:47 UTC
by BobFx
To get the verification code first, I moved the line

auth required pam_google_authenticator.so

that you can find in the file "/etc/pam.d/sshd", to the top of the file (to line 1).