29 lines
862 B
Diff
29 lines
862 B
Diff
|
|
From b72601eb4904923100e3254f490def46633db322 Mon Sep 17 00:00:00 2001
|
||
|
|
From: "renmingshuai@huawei.com" <renmingshuai@huawei.com>
|
||
|
|
Date: Tue, 10 Jan 2023 11:10:33 +0800
|
||
|
|
Subject: [PATCH] delete deprecated option RSAAuthentication and
|
||
|
|
RhostsRSAAuthentication
|
||
|
|
|
||
|
|
---
|
||
|
|
security.conf | 2 --
|
||
|
|
1 file changed, 2 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/security.conf b/security.conf
|
||
|
|
index f52a19d..70674b9 100644
|
||
|
|
--- a/security.conf
|
||
|
|
+++ b/security.conf
|
||
|
|
@@ -53,10 +53,8 @@
|
||
|
|
103@m@/etc/ssh/sshd_config@X11Forwarding @no
|
||
|
|
|
||
|
|
105@m@/etc/ssh/sshd_config@PubkeyAuthentication @yes
|
||
|
|
-105@m@/etc/ssh/sshd_config@RSAAuthentication @yes
|
||
|
|
# Don't read the user's ~/.rhosts and ~/.shosts files
|
||
|
|
105@m@/etc/ssh/sshd_config@IgnoreRhosts @yes
|
||
|
|
-105@m@/etc/ssh/sshd_config@RhostsRSAAuthentication @no
|
||
|
|
|
||
|
|
# To disable host authentication
|
||
|
|
106@m@/etc/ssh/sshd_config@HostbasedAuthentication @no
|
||
|
|
--
|
||
|
|
2.23.0
|
||
|
|
|