Yamyna / LightningMalware

Analyze, Detect, Protect: Your Shield Against Digital Threats
https://lightningmalware.fr/
2 stars 0 forks source link

Système double authentification #69

Closed reynaud2000 closed 3 months ago

reynaud2000 commented 4 months ago

duo mobile okta

reynaud2000 commented 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

Image

Yamyna commented 3 months ago

fait