modified: sshd_config
This commit is contained in:
1 parent
570d367586
commit
ff820eee34
1 file changed
+3
-3
+3
-3
@@ -24,13 +24,13 @@ PermitEmptyPasswords yes
|
|||||||
PasswordAuthentication no
|
PasswordAuthentication no
|
||||||
|
|
||||||
# Разрешить challenge-response аутентификацию
|
# Разрешить challenge-response аутентификацию
|
||||||
ChallengeResponseAuthentication yes
|
ChallengeResponseAuthentication no
|
||||||
|
|
||||||
# Разрешить интерактивную клавиатурную аутентификацию через PAM
|
# Разрешить интерактивную клавиатурную аутентификацию через PAM
|
||||||
KbdInteractiveAuthentication yes
|
KbdInteractiveAuthentication no
|
||||||
|
|
||||||
# Запретить прямой вход под root
|
# Запретить прямой вход под root
|
||||||
PermitRootLogin yes
|
PermitRootLogin prohibit-password
|
||||||
|
|
||||||
# Использовать PAM для аутентификации и управления сессиями
|
# Использовать PAM для аутентификации и управления сессиями
|
||||||
UsePAM yes
|
UsePAM yes
|
||||||
|
|||||||
Reference in new issue
Block a user