Une authentification à deux facteurs pour SSH : Différence entre versions
De e-glop
(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... ») |
(Aucune différence)
|
Version du 24 avril 2020 à 10:33
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