In OpenSSH 9.8 the server is split into two processes: sshd and
sshd-session which results in the following error, when trying to start
sshd:

Starting sshd: /usr/libexec/sshd-session does not exist or is not
executable

This patch installs the sshd-session binary

https://lore.kernel.org/buildroot/[email protected]/T/

Signed-off-by: Lars Pedersen <[email protected]>
---
 rules/openssh.make | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rules/openssh.make b/rules/openssh.make
index 78df72c6a..36927b241 100644
--- a/rules/openssh.make
+++ b/rules/openssh.make
@@ -105,6 +105,8 @@ ifdef PTXCONF_OPENSSH_SSHD
                /etc/ssh/moduli)
        @$(call install_copy, openssh, 0, 0, 0755, -, \
                /usr/sbin/sshd)
+       @$(call install_copy, openssh, 0, 0, 0755, -, \
+               /usr/sbin/sshd-session)
 ifdef PTXCONF_OPENSSH_SSHD_GENKEYS
        @$(call install_alternative, openssh, 0, 0, 0755, 
/etc/rc.once.d/openssh)
 endif
-- 
2.45.2


Reply via email to