From ce0e7c7d5fe7fb1d08eaaafb290349f5903cc23a Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Tue, 2 Jul 2024 14:36:16 +0200 Subject: [PATCH] package/openssh: install sshd-session 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. Fixes: https://gitlab.com/buildroot.org/buildroot/-/issues/11 Fixes: 4ac2cc5beec0eac4991fb28f286707a5659fa67e Signed-off-by: Niklas Yann Wettengel Reviewed-by: Nevo Hed Tested-by: Fiona Klute (WIWA) Signed-off-by: Arnout Vandecappelle (cherry picked from commit 11d2ad31046263d80da5ff6b36c3d25b1bbc0d82) Signed-off-by: Peter Korsgaard --- package/openssh/openssh.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk index b2ee1e715e..ab91c829a1 100644 --- a/package/openssh/openssh.mk +++ b/package/openssh/openssh.mk @@ -112,6 +112,7 @@ endif ifeq ($(BR2_PACKAGE_OPENSSH_SERVER),y) define OPENSSH_INSTALL_SERVER_PROGRAMS $(INSTALL) -D -m 0755 $(@D)/sshd $(TARGET_DIR)/usr/sbin/sshd + $(INSTALL) -D -m 0755 $(@D)/sshd-session $(TARGET_DIR)/usr/libexec/sshd-session $(INSTALL) -D -m 0755 $(@D)/sftp-server $(TARGET_DIR)/usr/libexec/sftp-server endef OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_SERVER_PROGRAMS