update openssh.spec and set-sshd-config.patch.
This commit is contained in:
parent
3b851e55a0
commit
ef918e72f1
10
openssh.spec
10
openssh.spec
@ -6,7 +6,7 @@
|
|||||||
%{?no_gtk2:%global gtk2 0}
|
%{?no_gtk2:%global gtk2 0}
|
||||||
|
|
||||||
%global sshd_uid 74
|
%global sshd_uid 74
|
||||||
%global openssh_release 2
|
%global openssh_release 3
|
||||||
|
|
||||||
Name: openssh
|
Name: openssh
|
||||||
Version: 8.8p1
|
Version: 8.8p1
|
||||||
@ -422,7 +422,13 @@ getent passwd sshd >/dev/null || \
|
|||||||
%attr(0644,root,root) %{_mandir}/man8/sftp-server.8*
|
%attr(0644,root,root) %{_mandir}/man8/sftp-server.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Mar 07 2021 kircher<majun65@huawei.com> - 8.8P1-2
|
* Wed Mar 09 2022 duyiwei<duyiwei@kylinos.cn> - 8.8P1-3
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:enable "include /etc/ssh/sshd_config.d/*.config"
|
||||||
|
|
||||||
|
* Mon Mar 07 2022 kircher<majun65@huawei.com> - 8.8P1-2
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
- SUG:NA
|
- SUG:NA
|
||||||
|
|||||||
@ -11,16 +11,7 @@ diff --git a/sshd_config b/sshd_config
|
|||||||
index 42ecf9b..67739b2 100644
|
index 42ecf9b..67739b2 100644
|
||||||
--- a/sshd_config
|
--- a/sshd_config
|
||||||
+++ b/sshd_config
|
+++ b/sshd_config
|
||||||
@@ -12,7 +12,7 @@
|
@@ -23,21 +23,22 @@
|
||||||
|
|
||||||
# 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
|
|
||||||
#ListenAddress 0.0.0.0
|
#ListenAddress 0.0.0.0
|
||||||
#ListenAddress ::
|
#ListenAddress ::
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user