From 379bf751404054b1be92e80f0cf126b00d70f9cf Mon Sep 17 00:00:00 2001 From: mchyzer Date: Mon, 9 Oct 2023 15:32:39 -0400 Subject: [PATCH] changes --- internal/mkstudent.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/mkstudent.sh b/internal/mkstudent.sh index da4c97c..966fc8a 100644 --- a/internal/mkstudent.sh +++ b/internal/mkstudent.sh @@ -49,6 +49,8 @@ usermod -G wheel,docker student echo '%wheel ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/99wheel sed -i "s|PasswordAuthentication no|PasswordAuthentication yes|g" /etc/ssh/sshd_config +sed -i "s|ChallengeResponseAuthentication no|ChallengeResponseAuthentication yes|g" /etc/ssh/sshd_config +sed -i "s|#ChallengeResponseAuthentication no|ChallengeResponseAuthentication yes|g" /etc/ssh/sshd_config systemctl restart sshd.service