Ubuntu | Google Authenticator not working with SSH keys

| By Webner

Purpose is to get MFA/ 2-step verification working i.e. google-authenticator + ssh Keys First of all, install google authenticator on your server with following steps: 1. Yum install google-authenticator.x86_64 (Redhat/Centos) sudo apt-get install libpam-google-authenticator (ubuntu OS) 2. Now vi /etc/pam.d/sshd (add following