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