首页 > 其他分享 >SecureCRT SSH连接报错Key exchange failed 问题处理记录

SecureCRT SSH连接报错Key exchange failed 问题处理记录

时间:2023-05-28 23:35:43浏览次数:40  
标签:sha2 hellman exchange ecdh failed 报错 diffie sha256

 

SecureCRT连接服务器时报错,报错信息为:

Key exchange failed. No compatible key exchange method. The server supports these methods: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256

1、原因分析
错误原因是SecureCRT 7.0客户端支持的和kali作为ssh服务端支持的SSH秘钥交换算法不匹配。
Secure CRT 7.0的默认支持key exchange算法:
2、解决方法有以下两种

第一种: 升级SecureCRT为最新版,或者使用其他连接工具
第二种: 修改服务器,使其兼容老系统的算法

vi /etc/ssh/sshd_config
#加入下面的文本  
KexAlgorithms [email protected],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

 

版权声明:本文为CSDN博主「feverlook」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/feverlook/article/details/116794725

标签:sha2,hellman,exchange,ecdh,failed,报错,diffie,sha256
From: https://www.cnblogs.com/feiyunhongge/p/17439148.html

相关文章

  • python3.10版本以后使用asyncio不报错方法
    importasyncioimporttimeasyncdeffunc1():print(1)awaitasyncio.sleep(2)print(2)asyncdeffunc2():print(3)awaitasyncio.sleep(2)print(4)asyncdefmain():task=[asyncio.ensure_future(func1()),asy......
  • SpringBoot项目启动失败报错Annotation-specified bean name ‘xx‘ for bean class [
    Annotation-specifiedbeanname'datahubServiceImpl'forbeanclass[com.peony.common.service.impl.DatahubServiceImpl]conflictswithexisting,non-compatiblebeandefinitionofsamenameandclass[com.peony.common.service.DatahubServiceImpl] 1、......
  • 报错ImportError: cannot import name 'Iterable' from 'collections' in Python
    参考https://stackoverflow.com/questions/72032032/importerror-cannot-import-name-iterable-from-collections-in-python答案为3.10版本的python把Iterable从collections去除了,原答案粘贴如下:文字版和截图 TheIterableabstractclasswasremovedfromcollectionsin......
  • 解决 Failed to connect to github.com port 443:connection timed out
    晕了,今天不知道怎么出现了这个问题gitconfig--globalhttp.proxyhttp://127.0.0.1:1080gitconfig--globalhttps.proxyhttp://127.0.0.1:1080问题得到解决取消代理gitconfig--global--unsethttp.proxygitconfig--global--unsethttps.proxy我也记不清到底......
  • Synology Drive Client 报错 "连接失败。请检查您的网络设置并再试一次。"
    SynologyDriveClient在连接Drive时报错"连接失败。请检查您的网络设置并再试一次。"但是5001端口是开着的抓个包看看发现他没有去请求5001而是先走到了6690这是群晖官方对6690的解释添加6690的映射规则就好了......
  • 202305280952-《远程Linux服务器——安装tomcat8、jdk1.8、mysql5——mysql启动报错》
    在bash执行"systemctlstartmysqld"   提示:“Jobformysqld.servicefailedbecausethecontrolprocessexitedwitherrorcode.See"systemctlstatusmysqld.service"and"journalctl-xe"fordetails.”   /var/lib/mysql权......
  • Centos7.6 ipmi驱动报错解决
    现象描述如上图,找不到这个设备的信息,dmesg中也提示没有此设备排查过程1.在内核代码内进行追踪,发现dmi_find_device时未找到设备2.而且使用dmidecode命令时发现错误:WrongDMIstructureslength:1104bytesannounced,only32bytesavailable.Invalidentrylength(0).DMIta......
  • RabbitMQ系列-Exchange介绍
    RabbitMQ系列RabbitMQ系列-概念及安装   1.ExchangeRabbitMQ系列-概念及安装提到AMQP0-9-1协议默认支持四种exchange,分别是DirectExchange,FanoutExchange,TopicExchange,HeadersExchange除了交换类型之外,交换还声明了许多属性Name,交换机名称,唯一的Durability,持久......
  • VueCLI报错:ERROR in [eslint]
    配置好自己的组件后,完全没有任何错误,但是使用npmrunserve时仍然报错ERRORin[eslint] 发现是eslint的错误,其实没有错,只不过Vue检测你的组件名称不符合就不编译了。只需停掉eslint就行(一般开发期间停掉eslint可以保证自定义的变量、组件等也可以运行)先找到vue.config.js--......
  • vivado2019.2对modelsim2019.2编译库全报错解析
    最近在用vivado2019.2编译modelsim2019.2库时,所有库全部报错,查阅了博主们的各种解决办法,最终在一篇文章的评论中找到了解决办法,特此记录问题描述:1、ERROR:[Vivado12-5602]compile_simlibfailedtocompileformodelsimwitherrorinxxxlibraries2、ERROR:[Common17-......