From d333c72dbac84cc0873360e889ef1c9c4e0e9c18 Mon Sep 17 00:00:00 2001 From: Lionel <> Date: Thu, 20 Feb 2025 18:10:53 +0100 Subject: [PATCH] Fix SSH PasswordAuthentication --- config/hooks/live/sshserver.hook.chroot | 4 ++++ 1 file changed, 4 insertions(+) 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 +