Configure SSH Google Two factor (2FA) Authentication on CentOS / RHEL

Lets make short and clean ! Step 1: Install sudo yum -y install google-authenticator qrencode Step 2: Configuring SSH Server $ sudo vi /etc/pam.d/sshd auth required pam_google_authenticator.so $ sudo /etc/ssh/sshd_config ChallengeResponseAuthentication yes Step 3: Configuring…