From 41d739604108a17e4792d41a3133dd60f33fdd53 Mon Sep 17 00:00:00 2001 From: Vladimir Protsenko Date: Wed, 7 Sep 2022 20:40:50 +0400 Subject: [PATCH] Added tasks for hash, ciphers, ssh, certs lesson. --- 05_hash_ciphers_ssh_certs/solutions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/05_hash_ciphers_ssh_certs/solutions.md b/05_hash_ciphers_ssh_certs/solutions.md index 33a4df4..3437f1c 100644 --- a/05_hash_ciphers_ssh_certs/solutions.md +++ b/05_hash_ciphers_ssh_certs/solutions.md @@ -123,7 +123,7 @@ Last login: Wed Sep 7 20:17:07 2022 from ::1 Попробуйте подключиться ещё раз. Попробуйте подключиться ещё раз по паролю (добавьте флаг -o PubkeyAuthentication=no к ssh команде). ``` -$ cat /etc/ssh/sshd_config | grep -e '^\(PasswordAuthentication\|PermitRootLogin\)' +$ cat /etc/ssh/sshd_config | grep -e '^\(PasswordAuthentication\|PermitRootLogin\)' PermitRootLogin prohibit-password PasswordAuthentication no $ sudo systemctl restart sshd