Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] packages/openssh: install sshd-session
@ 2024-07-02 12:21 Niklas Yann Wettengel
  2024-07-02 12:31 ` Baruch Siach via buildroot
  0 siblings, 1 reply; 7+ messages in thread
From: Niklas Yann Wettengel @ 2024-07-02 12:21 UTC (permalink / raw)
  To: buildroot; +Cc: Niklas Yann Wettengel

In OpenSSH 9.8 the server is split into two processes: sshd and
sshd-session. This patch installs the sshd-session binary

Signed-off-by: Niklas Yann Wettengel <niyawe@niyawe.de>
---
 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
-- 
2.45.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [Buildroot] [PATCH 1/1] packages/openssh: install sshd-session
@ 2024-07-02 12:36 Niklas Yann Wettengel
  2024-07-02 15:53 ` Nevo Hed via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Niklas Yann Wettengel @ 2024-07-02 12:36 UTC (permalink / raw)
  To: buildroot; +Cc: Niklas Yann Wettengel

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

Signed-off-by: Niklas Yann Wettengel <niyawe@niyawe.de>
---
 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
-- 
2.45.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-07-02 19:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-02 12:21 [Buildroot] [PATCH 1/1] packages/openssh: install sshd-session Niklas Yann Wettengel
2024-07-02 12:31 ` Baruch Siach via buildroot
  -- strict thread matches above, loose matches on Subject: below --
2024-07-02 12:36 Niklas Yann Wettengel
2024-07-02 15:53 ` Nevo Hed via buildroot
2024-07-02 19:30   ` Arnout Vandecappelle via buildroot
2024-07-02 16:25 ` Fiona Klute via buildroot
2024-07-02 19:30 ` Arnout Vandecappelle via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox