From 31510c4e5f3b026cfd8d6232b1155587ae4de742 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 +