From ff820eee344a39d410fc82f2b20169d8de961695 Mon Sep 17 00:00:00 2001 From: lobanov_v Date: Sun, 9 Aug 2026 07:01:06 +0000 Subject: [PATCH] modified: sshd_config --- sshd_config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sshd_config b/sshd_config index e6034d9..9b1097b 100644 --- a/sshd_config +++ b/sshd_config @@ -24,13 +24,13 @@ PermitEmptyPasswords yes PasswordAuthentication no # Разрешить challenge-response аутентификацию -ChallengeResponseAuthentication yes +ChallengeResponseAuthentication no # Разрешить интерактивную клавиатурную аутентификацию через PAM -KbdInteractiveAuthentication yes +KbdInteractiveAuthentication no # Запретить прямой вход под root -PermitRootLogin yes +PermitRootLogin prohibit-password # Использовать PAM для аутентификации и управления сессиями UsePAM yes