今天需要ssh到centos5.10 64位机器上做点事情。

windows和linux上 都运行ssh-keygen,一路回车,分别在两个系统的用户目录下生成.ssh文件夹

把windows .ssh文件夹下的id_rsa.pub拷贝到linux的.ssh目录下,并重命名成 authorized_keys。

在windows 黑窗口下执行ssh 用户名@host.结果弹出下面提示:

Unable to negotiate with x.x.x.x port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

查了很久,网上的好多方案都没成功。

最终我的解决方案是:

在windows机器上,用户目录.ssh文件夹下创建config文件。

重启cmd,再ssh,成功。

Unable to negotiate with x.x.x.x port 22: no matching key exchange method found. Their offer: diffie相关推荐

  1. Unable to negotiate with 192.168.7.203 port 22: no matching key exchange method found. Their offer:

    Unable to negotiate with xxxx port xxxx: no matching key exchange method found. Their offer: diffie- ...

  2. ssh登录主机报错: Unable to negotiate with 172.222.222.243 port 22: no matching key exchange method found.

    问题:ssh登录主机报错 ssh root@172.222.222.243 报错 #报错Unable to negotiate with 172.222.222.243 port 22: no mat ...

  3. ssh 连接报错:Unable to negotiate with 192.168.xx.xx port 22: no matching key exchange method found.

    用 ssh 连接 Linux 服务器时,很偶然的情况下出现了如下报错: Unable to negotiate with xx.xx.xx.xx port 22: no matching key ex ...

  4. Unable to negotiate with 192.168.XX.XX port XXXX: no matching key exchange method found.

    问题 Unable to negotiate with 192.168.XX.XX port 29418: no matching key exchange method found. Their o ...

  5. Unable to negotiate with 100.9.70.30 port 29418: no matching key exchange method found

    1.问题 在Linux上 clone Gerrit 代码时报错:Unable to negotiate with 100.9.70.30 port 29418: no matching key exc ...

  6. git gerrit 拉取本地服务器代码出错Unable to negotiate with XX.XX.XX.XX port XX: no matching key exchange me

    ssh 方式 git gerrit 拉取本地服务器代码出错ssh拉取项目 Unable to negotiate with XX.XX.XX.XX port XX:: no matching key ...

  7. Unable to negotiate with 192.168.2.53 port 22: no matching host key type found. Their offer: ssh-rsa

    终端远程登录ssh时,提示如下错误: Unable to negotiate with 192.168.2.53 port 22: no matching host key type found. T ...

  8. 【已解决】Unable to negotiate with 47.98.49.44 port 22: no matching host key type found. Their offer: ssh

    文章目录 问题 解决 问题 运行 git clone git@code.aliyun.com:project-main/project-name.git,报错如下: Cloning into 'pro ...

  9. Unable to negotiate with 120.26.106.212 port 22: no matching host key type f

    原因是Terminal找不到支持的密钥交换方法,因为新版Openssh中认为SHA1这种hash散列算法过于薄弱,已经不再支持,所以我们需要手动去允许对于SHA1的支持 . 解决办法: 在生成公钥的~ ...

最新文章

  1. uniapp中slot插槽用法
  2. ArcObject开发时,axtoolbarcontrol中一些添加的按钮是灰色的问题
  3. C/C++学习之路_六: 指针
  4. React开发(237):dva概念2state
  5. POJ 1936 字符匹配(水题)
  6. git更新pull报错Pulling 1 repository Remote does not have refs/heads/rel5.1 available for fetch
  7. netstat命令常见用法
  8. @NOIP2018 - D1T1@ 铺设道路
  9. java %2c_java2c工具(修复)
  10. Java认证与授权服务JAAS基础概念
  11. 8.25 ccpc 比赛总结
  12. c语言链表详解(超详细)
  13. 编程c语言经验,C语言编程学习经验3篇
  14. 网站域名假墙处理方法 内含cloudflare API自动更换IP的php脚本
  15. MacBook的delete键使用技巧
  16. 矢量图和位图都是计算机记录_ _的方式,在计算机上如何区别矢量图和位图?
  17. 数据库oracle--PL/SQL的使用-如何按f8只执行一行
  18. Fatal error: Uncaught ArgumentCountError: Too few arguments to function 解决方法
  19. VB编程:DoWhile...Loop当循环计算0~100累加和-15_彭世瑜_新浪博客
  20. 学编程用什么系统好?

热门文章

  1. 金蝶导出明细账到计算机桌面,怎么用金蝶将所有科目的明细账导到一张表格上?...
  2. 卓胜微:华为背后神秘的5G供应链巨头
  3. R语言使用多个数据类型不同的向量数据创建一个dataframe数据对象
  4. 拯救信息安全行业:微软意欲重写武器控制协定
  5. 简阳市简阳中学2021年高考成绩查询,2021年简阳中学升学率怎么样?
  6. ppt html5转换,PPT还能转H5?这大概是制作招聘H5最快的方法了...
  7. freemarker 宏 调用java_freemarker宏的应用
  8. 动手下载网易课程视频 -- Eclipse通过pip安装python插件
  9. 电脑系统CMD命令dos命令大全
  10. 正负面情感词(中文 来源微博)