20190227
ssh & google authorenticator
Last updated
ssh & google authorenticator
Last updated
# yum groupinstall "Development Tools"./bootstrap.sh
./configure
make
sudo make installconfigure: error: Unable to find the PAM library or the PAM header files# yum install pam-devel# find / -name pam_google_authenticator.so -type f# mv /usr/local/lib/security/pam_google_authenticator.* /usr/lib64/security/# vim /etc/pam.d/sshdauth required pam_google_authenticator.so nullok# vim /etc/ssh/sshd_config
ChallengeResponseAuthentication yes
# systemctl restart sshd# google-authenticator