From dea8cdbea8a29c72ac0d1be7ab0b2cdd1a6fa674 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..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 +