diff --git a/config/hooks/live/sshserver.hook.chroot b/config/hooks/live/sshserver.hook.chroot index 3264f28..b2791c7 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 '\:PasswordAuthentication:d' /lib/live/config/1160-openssh-server +