small fix

This commit is contained in:
root
2023-09-30 14:18:44 +03:00
parent a598e645c2
commit 6ebf65cdb9
15 changed files with 59 additions and 67 deletions

View File

@ -17,7 +17,7 @@ auth required pam_google_authenticator.so
```
## Правка конфига ssh
```shell
```sh
ChallengeResponseAuthentication yes
# /etc/ssh/sshd_config
@ -33,14 +33,14 @@ google-authenticator
## Управление факторами (необязательно)
Включить запрос ключа при аутентификации:
```shell
```sh
AuthenticationMethods publickey,password publickey,keyboard-interactive
# /etc/ssh/sshd_config
```
Отключить запрос пароля при аутентификации:
```shell
```sh
#@include common-auth
# /etc/pam.d/sshd