From 64c29e16254101e0f5e7042129059e44e0b1e3e6 Mon Sep 17 00:00:00 2001 From: duyiwei Date: Wed, 7 Dec 2022 06:27:30 +0000 Subject: [PATCH] enable include /etc/ssh/sshd_config.d/*.config --- openssh.spec | 8 +++++++- set-sshd-config.patch | 11 +---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/openssh.spec b/openssh.spec index cd6b544..7bfdd84 100644 --- a/openssh.spec +++ b/openssh.spec @@ -6,7 +6,7 @@ %{?no_gtk2:%global gtk2 0} %global sshd_uid 74 -%global openssh_release 8 +%global openssh_release 9 Name: openssh Version: 8.8p1 @@ -434,6 +434,12 @@ getent passwd sshd >/dev/null || \ %attr(0644,root,root) %{_mandir}/man8/sftp-server.8* %changelog +* Wed Dec 7 2022 duyiwei - 8.8P1-9 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:enable "include /etc/ssh/sshd_config.d/*.config" again + * Mon Nov 28 2022 renmingshuai - 8.8p1-8 - Type:bugfix - CVE:NA diff --git a/set-sshd-config.patch b/set-sshd-config.patch index 1bf951b..2915ce9 100644 --- a/set-sshd-config.patch +++ b/set-sshd-config.patch @@ -11,16 +11,7 @@ Index: b/sshd_config =================================================================== --- a/sshd_config +++ b/sshd_config -@@ -12,7 +12,7 @@ - - # To modify the system-wide sshd configuration, create a *.conf file under - # /etc/ssh/sshd_config.d/ which will be automatically included below --Include /etc/ssh/sshd_config.d/*.conf -+#Include /etc/ssh/sshd_config.d/*.conf - - # If you want to change the port on a SELinux system, you have to tell - # SELinux about this change. -@@ -23,21 +23,22 @@ Include /etc/ssh/sshd_config.d/*.conf +@@ -23,21 +23,22 @@ #ListenAddress 0.0.0.0 #ListenAddress :: -- Gitee