From d565562883b09f8df89a87c466279c75e26d35cd Mon Sep 17 00:00:00 2001 From: host Date: Fri, 17 Apr 2026 23:38:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=2002=5FSSH=5FSETUP.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 02_SSH_SETUP.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/02_SSH_SETUP.md b/02_SSH_SETUP.md index 880f513..1213f8f 100644 --- a/02_SSH_SETUP.md +++ b/02_SSH_SETUP.md @@ -91,3 +91,22 @@ PubkeyAuthentication yes ```bash sudo systemctl restart ssh ``` +--- + +## 5. Включение входа по паролю +```bash +sudo passwd root +``` +Открыть конфиг: +```bash +sudo nano /etc/ssh/sshd_config +``` +```text +PasswordAuthentication yes +PermitRootLogin yes + +``` +Перезапустить SSH: +```bash +sudo systemctl restart ssh +``` \ No newline at end of file