This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
2fa_на_предприятии [2025/09/15 12:22] val |
2fa_на_предприятии [2025/10/23 09:22] (current) val [Шаг 1. Настраиваем SSH доступ с 2FA] |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| * [[https://datatracker.ietf.org/doc/html/rfc6238]] | * [[https://datatracker.ietf.org/doc/html/rfc6238]] | ||
| - | * [[https://2fa.zone/|Get 2FA Verification Code]] | + | * [[https://play.google.com/store/apps/details?id=ru.yandex.key&hl=en|Yandex Key – Google Play]] |
| + | * [[https://2fa.zone/]] | ||
| * [[https://2fa.fb.rip/]] | * [[https://2fa.fb.rip/]] | ||
| * [[https://2fa.live/]] | * [[https://2fa.live/]] | ||
| - | * [[https://play.google.com/store/apps/details?id=ru.yandex.key&hl=en|Yandex Key – Google Play]] | ||
| * [[https://winitpro.ru/index.php/2021/12/21/2fa-dlya-ssh-v-linux/|Включаем двухфакторную аутентификацию (2FA) для SSH входа в Linux]] | * [[https://winitpro.ru/index.php/2021/12/21/2fa-dlya-ssh-v-linux/|Включаем двухфакторную аутентификацию (2FA) для SSH входа в Linux]] | ||
| Line 29: | Line 29: | ||
| ===== Запись вебинара ===== | ===== Запись вебинара ===== | ||
| - | * Тэги: | + | * https://youtu.be/VMIi5-XY7Gk |
| + | * https://rutube.ru/video/private/7fb7b99656ae3819fcabccc090412065/ | ||
| + | * https://ok.ru/specialistru/topic/158109049773425 | ||
| + | * https://vk.com/video-2190892_456239493 | ||
| + | |||
| + | * Тэги: 2FA, OTP, TOTP, SSH, PAM, OpenVPN | ||
| ===== История вопроса ===== | ===== История вопроса ===== | ||
| Line 38: | Line 43: | ||
| ===== Шаг 1. Настраиваем SSH доступ с 2FA ===== | ===== Шаг 1. Настраиваем SSH доступ с 2FA ===== | ||
| - | * Шаг 1 из статьи [[https://habr.com/ru/articles/716454/|Самый простой пример CI/CD]] используя образ [[https://val.bmstu.ru/unix/img/My%20Documents/debian_13.0_64_01.ova|Debian 13]] | + | * Шаг 1 из статьи [[https://habr.com/ru/articles/716454/|Самый простой пример CI/CD]] используя образ [[https://val.bmstu.ru/unix/img/My%20Documents/debian_13.1_64_02.ova|Debian 13]] |
| <code> | <code> | ||
| + | $ timedatectl status #!!! | ||
| + | |||
| $ sudo apt-get install libpam-google-authenticator | $ sudo apt-get install libpam-google-authenticator | ||
| </code> | </code> | ||
| Line 57: | Line 64: | ||
| ... | ... | ||
| NNNNNNNN | NNNNNNNN | ||
| + | </code><code> | ||
| + | student@debian:~$ more .google_authenticator | ||
| + | ... | ||
| </code><code> | </code><code> | ||
| debian:~# cat /etc/pam.d/sshd | debian:~# cat /etc/pam.d/sshd | ||
| Line 93: | Line 103: | ||
| * [[https://docs.gitlab.com/user/profile/account/two_factor_authentication/|GitLab Two-factor authentication]] | * [[https://docs.gitlab.com/user/profile/account/two_factor_authentication/|GitLab Two-factor authentication]] | ||
| + | |||
| + | ===== Проблемы ===== | ||
| + | |||
| + | * [[https://docs.user.com/imap-for-account-with-2-step-verification/|How to configure IMAP/SMTP for account with a 2-step verification]] | ||
| + | |||
| + | ===== Итоги/Вопросы ===== | ||