First thing you need is to install google authenticator package in Debian:
apt-get install libpam-google-authenticator
Open a shell for the user you want to use two-factor authentication and run command called “google-authenticator”
google-authenticator
Continue reading “Two factor linux authentication using Google Authenticator”