1 Star 0 Fork 25

gys/security-tool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Use-secure-MACs-and-KexAlgorithms.patch 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
寒江舟 提交于 2020-10-09 18:26 . Use secure MACs and KexAlgorithms
diff --git a/security.conf b/security.conf
index e5d39e2..30b9f54 100644
--- a/security.conf
+++ b/security.conf
@@ -74,7 +74,7 @@
112@m@/etc/ssh/sshd_config@Banner @/etc/issue.net
# Set sshd message authentication code algorithm
-113@m@/etc/ssh/sshd_config@MACs @hmac-sha2-512,hmac-sha2-512-etm@@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@@openssh.com,hmac-sha1,hmac-sha1-etm@@openssh.com
+113@m@/etc/ssh/sshd_config@MACs @hmac-sha2-512,hmac-sha2-512-etm@@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@@openssh.com
# Make sshd check file modes and ownership of the user's files and home directory before accepting login
114@m@/etc/ssh/sshd_config@StrictModes @yes
@@ -95,7 +95,7 @@
120@m@/etc/ssh/sshd_config@PermitTunnel @no
#CVE-2015-4000
-121@m@/etc/ssh/sshd_config@KexAlgorithms@ curve25519-sha256,curve25519-sha256@@libssh.org,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256
+121@m@/etc/ssh/sshd_config@KexAlgorithms@ curve25519-sha256,curve25519-sha256@@libssh.org,diffie-hellman-group-exchange-sha256
130@systemctl@sshd.service@restart
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gys66/security-tool.git
git@gitee.com:gys66/security-tool.git
gys66
security-tool
security-tool
master

搜索帮助