2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-24 03:12:30 +00:00

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.
This commit is contained in:
Markus Hilger
2026-09-07 07:04:22 +02:00
parent d7a25a9933
commit d069328dd2
+3
View File
@@ -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