From 46c5ecbf45f24feb10fa0f82ef02298cb7c1ede4 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 15 Sep 2024 09:06:40 +0200 Subject: [PATCH] fix sshd startup --- usr/lib/archboot/cpio/hooks/remote | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/lib/archboot/cpio/hooks/remote b/usr/lib/archboot/cpio/hooks/remote index 1563e4cd4..43b227c89 100644 --- a/usr/lib/archboot/cpio/hooks/remote +++ b/usr/lib/archboot/cpio/hooks/remote @@ -21,6 +21,8 @@ _run () _file_rename /etc/archboot/ssh/archboot-key.pub /root/.ssh/archboot-key.pub _file /etc/archboot/ssh/archboot-key.pub fi + # add empty.sshd directory + _dir /usr/share/empty.sshd # switch port to ARCH and disable password login _file_rename /etc/ssh/sshd_config /etc/ssh/sshd_config echo "Port 11838" >> "${_ROOTFS}"/etc/ssh/sshd_config