« Authentification SSH multi-facteur avec OATH (OTP / HOTP) et clés publiques SSH » : différence entre les versions

Aller à la navigation Aller à la recherche
aucun résumé des modifications
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 25 : Ligne 25 :
</pre>
</pre>


To enable oath for a specific service only, like ssh, you can edit the file /etc/pam.d/sshd and add at the beginning of the file the following line:
Pour activer l'authentification oath pour ssh, ajoutez cette ligne au début du fichier <code>/etc/pam.d/sshd</code> :
Pour activer l'authentification oath pour ssh, ajoutez cette ligne au début du fichier <code>/etc/pam.d/sshd</code> :
<pre>auth required pam_oath.so usersfile=/etc/users.oath window=30 digits=6</pre>
<pre>auth required pam_oath.so usersfile=/etc/users.oath window=30 digits=6</pre>
4 203

modifications

Menu de navigation