sftp google authenticator and two factor authentication

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: sftp google authenticator and two factor authentication

Post 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?
Author of Total Commander
https://www.ghisler.com
BobFx
Junior Member
Junior Member
Posts: 7
Joined: 2019-03-18, 08:33 UTC
Location: Germany

Re: sftp google authenticator and two factor authentication

Post 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).
Post Reply