当前位置: 首页 > news >正文

SecureCRT出现Key exchange failed.No compatible key exchange method. 错误解决方法

SecureCRT出现Key exchange failed.No compatible key exchange method. 如下

Key exchange failed.
No compatible key exchange method. The server supports these methods: curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256

解决方法:

方法一:

升级SecureCRT版本,我的升级到了 SecureCRT 9.4 亲测有效,或者使用其他连接工具


方法二:

修改服务器,使其兼容老系统的算法

vi /etc/ssh/sshd_config
#加入如下内容  
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1#重启ssh
systemctl restart sshd.service


更多技术干货,请持续关注程序员大佬超。
原创不易,转载请注明出处。

http://www.lryc.cn/news/242720.html

相关文章:

  • Android RGB转YUV的算法
  • Spring事务底层原理(待完善)
  • 微信小程序 修改默认单选,多选按钮样式
  • 「最优化基础知识2」一维搜索,以及python代码
  • 工厂模式之抽象工厂模式(常用)
  • Apache服务Rwrite功能使用
  • 【一起来学kubernetes】6、kubernetes基本概念区分
  • Python基础入门例程66-NP66 增加元组的长度(元组)
  • ubuntu22.04 安装 jupyterlab
  • 探索移动端可能性:Capacitor5.5.1和vue2在Android studio中精细融合
  • 【深度学习】Python快捷调用InsightFace人脸检测,纯ONNX推理
  • JAVA序列化和反序列化
  • 基于浣熊算法优化概率神经网络PNN的分类预测 - 附代码
  • uni-app打包后,打开软件时使其横屏显示
  • MYSQL基础知识之【创建,删除,选择数据库】
  • 关于 token 和证书
  • 基于SSM和微信小程序的场地预约网站
  • Javascript每天一道算法题(十七)——缺失的第一个正整数_困难
  • 【React】路径别名配置
  • 前缀和——238. 除自身以外数组的乘积
  • MySql数据库常用指令(二)
  • zookeeper 单机伪集群搭建简单记录
  • 【Linux】匿名管道与命名管道,进程池的简易实现
  • HTML5+ API 爬坑记录
  • idea git将某个分支内的commit合并到其他分支
  • Google hacking语法
  • Redis集群(新)
  • [JVM] 常用调优参数
  • 【nlp】3.5 Transformer论文复现:3.解码器部分(解码器层)和4.输出部分(线性层、softmax层)
  • 宝塔 Linux 面板安装一个高大上的论坛程序 —— Flarum