From b6eeb484242144e75993d7d7c9093fc69a72f90a Mon Sep 17 00:00:00 2001 From: Vladimir Protsenko Date: Wed, 7 Sep 2022 20:40:05 +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 8860ca1..33a4df4 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