diff --git a/config/hooks/live/sshserver.hook.chroot b/config/hooks/live/sshserver.hook.chroot index 3264f28..27add01 100644 --- a/config/hooks/live/sshserver.hook.chroot +++ b/config/hooks/live/sshserver.hook.chroot @@ -1,4 +1,8 @@ #!/bin/sh +# Disable SSH Server by default systemctl disable sshd.service +# Edit live config for allowing PasswordAuthentication +sed -i '\:PasswordAuthentication:d' /lib/live/config/1160-openssh-server +