yum install gcc gcc++ make python python-devel git pam-devel
cd /tmp git clone https://code.google.com/p/google-authenticator/ cd google-authenticator/libpam make make install cd /tmp rm -Rf google-authenticator/
To enable ssh 2 factor:
sed -i ‘1 a\ auth required pam_google_authenticator.so’ /etc/pam.d/sshd Make sure that challenge response is listed as YES in your SSHD config
… ChallengeResponseAuthentication yes
Login […]
Recent Comments