Ever

  • 首页
  • 系统
  • docker
  • k8s
  • 数据库
  • 运维
  • 更多
    • 其他
生活不只是眼前的苟且,还有诗和远方!
  1. 首页
  2. 运维
  3. 正文

Diffie-Hellman Key Agreement Protocol 资源管理错误漏洞(CVE-2002-20001)

2025年4月29日 22点热度 0人点赞 0条评论

1 查看支持的算法

man sshd_config |grep -A 40 -w KexAlgorithms

1.1 修复方法

1.修改sshd_config配置文件,注释不安全的算法

2.添加算法

echo "KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521" >> /etc/ssh/sshd_config

 

vim /etc/ssh/sshd_config

1.2 重启服务

systemctl restart sshd

 

1.3 查看配置文件

sshd -T | grep -w kexalgorithms

 

1.4亲测有效

标签: 暂无
最后更新:2025年4月29日

小杜

岁月静好,现世安稳。

打赏 点赞
< 上一篇

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

归档

  • 2025 年 4 月
  • 2024 年 9 月
  • 2024 年 8 月
  • 2024 年 7 月
  • 2024 年 6 月
  • 2024 年 5 月
  • 2024 年 4 月
  • 2024 年 3 月

分类目录

  • docker
  • k8s
  • 数据库
  • 社交
  • 系统
  • 运维

COPYRIGHT © 2019 小杜. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang