linux:ssh_gauth
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
linux:ssh_gauth [2016/06/30 10:08] – gdureuil | linux:ssh_gauth [2020/07/24 22:03] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 3: | Ligne 3: | ||
===== Information ===== | ===== Information ===== | ||
- | <WRAP center | + | <WRAP center info 100%> |
Testé sur Debian 8. | Testé sur Debian 8. | ||
</ | </ | ||
Ligne 9: | Ligne 9: | ||
===== Installation ===== | ===== Installation ===== | ||
- | Installer les packages | + | Installer les packages. |
<sxh bash;> | <sxh bash;> | ||
- | apt install | + | apt install libpam-google-authenticator |
- | </ | + | |
- | + | ||
- | (Ici unzip sert à décompresser l' | + | |
- | + | ||
- | Télécharger et décompresser les sources de libpam | + | |
- | + | ||
- | <sxh bash;> | + | |
- | cd / | + | |
- | wget https:// | + | |
- | unzip googleauth.zip && rm googleauth.zip | + | |
- | cd google-authenticator-master/ | + | |
- | </ | + | |
- | + | ||
- | Penser à adapter l'URL pour la dernière version et donc le nom du dossier qui est extrait | + | |
- | + | ||
- | Lancer la compilation | + | |
- | + | ||
- | <sxh bash;> | + | |
- | ./ | + | |
- | ./ | + | |
- | make | + | |
- | make install | + | |
</ | </ | ||
Ligne 98: | Ligne 76: | ||
<sxh text; Title: / | <sxh text; Title: / | ||
- | auth required | + | auth required pam_google_authenticator.so nullok |
</ | </ | ||
Ligne 142: | Ligne 120: | ||
===== Sources ===== | ===== Sources ===== | ||
- | [[http://pirmax.fr/2014/02/13/securiser-les-connexions-ssh-avec-google-authenticator/|Source 1]] - [[http://www.linux.org/threads/ | + | [[https://github.com/google/google-authenticator|github.com/google/ |
linux/ssh_gauth.1467281321.txt.gz · Dernière modification : 2020/07/24 22:03 (modification externe)