Une authentification à deux facteurs pour SSH
De e-glop
Révision datée du 24 avril 2020 à 10:33 par BeTa (discussion | contributions) (Page créée avec « sudo apt-get install libpam_oath /etc/ssh/sshd_config ChallengeResponseAuthentication yes /etc/users.oath HOTP beta pw 00 /etc/pam.d/sshd # Standard Un*x authentication... »)
sudo apt-get install libpam_oath
/etc/ssh/sshd_config ChallengeResponseAuthentication yes
/etc/users.oath HOTP beta pw 00
/etc/pam.d/sshd
- Standard Un*x authentication.
- @include common-auth
auth requisite pam_oath.so usersfile=/etc/users.oath window=20 digit=6