From 11d2ad31046263d80da5ff6b36c3d25b1bbc0d82 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Tue, 2 Jul 2024 14:36:16 +0200 Subject: [PATCH] packages/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 --- package/openssh/openssh.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk index 6d846f64df..7065c3ae4f 100644 --- a/package/openssh/openssh.mk +++ b/package/openssh/openssh.mk @@ -117,6 +117,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