From d069328dd2f645e6a74f454dbe1fb2697590649c Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Mon, 7 Sep 2026 07:04:22 +0200 Subject: [PATCH] Put the sshd helpers in the SUSE 16 diskless initramfs OpenSSH 10 splits each connection into sshd-session and that into sshd-auth, so the initramfs sshd on 2222 could not serve a single session. el10 added sshd-session for the same reason. --- imgutil/suse16/dracut/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/imgutil/suse16/dracut/install b/imgutil/suse16/dracut/install index c7ffd755..07b537ba 100644 --- a/imgutil/suse16/dracut/install +++ b/imgutil/suse16/dracut/install @@ -7,6 +7,9 @@ dracut_install curl openssl tar cpio gzip lsmod ethtool xz lsmod ethtool dracut_install modprobe touch echo cut wc bash uniq grep ip hostname dracut_install awk egrep dirname expr sort dracut_install ssh sshd reboot parted mkfs mkfs.ext4 mkfs.xfs xfs_db mkswap +# 10 execs a helper per connection, and that helper execs another to +# authenticate. Without both, the initramfs sshd accepts nothing. +dracut_install /usr/libexec/ssh/sshd-session /usr/libexec/ssh/sshd-auth dracut_install efibootmgr uuidgen dracut_install du df ssh-keygen scp clear dhcpcd dracut_install /lib64/libnss_dns.so.2 # glibc dropped the versioned name