Closed reynaud2000 closed 3 months ago
sudo apt-get update sudo apt-get install -y libpam-google-authenticator nano /etc/pam.d/sshd auth required pam_google_authenticator.so nano /etc/ssh/sshd_config ChallengeResponseAuthentication yes UsePAM yes
sudo systemctl restart sshd
sudo chown morgane:morgane /home/morgane/.google_authenticator sudo chmod 600 /home/morgane/.google_authenticator
google-authenticator
fait
duo mobile okta