解决Windows10 ssh连接Linux服务器Unable to negotiate with xx.xx.xx.xx port xx: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1问题

Git安装

Git for windows:https://gitforwindows.org/
Windws10 安装Git后使用SSH连接Linux服务器时遇到问题:Unable to negotiate with xx.xx.xx.xx port xx: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1解决办法如下:

解决办法

在C盘“用户/当前用户名/.ssh/”文件下新建config文件,该文件无扩展名。然后使用写字板等打开,输入以下内容:

   Host xx.xx.xx.xxKexAlgorithms +diffie-hellman-group1-sha1

注意:xx.xx.xx.xx为服务器ip;+前面有一个空格!
此方法只支持当前用户连接Linux服务器,不支持其他用户登陆。

Windows10 使用SSH连接Linux服务器

找到Git安装目录,打开git-bash.exe,然后在命令行中输入

ssh username@xx.xx.xx.xx           //username为服务器用户名
然后根据提示输入:yes
username@xx.xx.xx.xx's password:   //输入密码

参考

CSDN博客:https://blog.csdn.net/fengbingchun/article/details/50170017?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io

解决Windows10 ssh连接Linux服务器Unable to negotiate with xx.xx.xx.xx port xx: no matching key exchange meth相关推荐

  1. 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 ...

  2. 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 ...

  3. Unable to negotiate with x.x.x.x port 22: no matching key exchange method found. Their offer: diffie

    今天需要ssh到centos5.10 64位机器上做点事情. windows和linux上 都运行ssh-keygen,一路回车,分别在两个系统的用户目录下生成.ssh文件夹 把windows .ss ...

  4. 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- ...

  5. Python ssh连接Linux服务器报Incompatible ssh peer (no acceptable kex algorithm) 解决方法

    Python ssh连接Linux服务器报Incompatible ssh peer (no acceptable kex algorithm) 解决方法 参考文章: (1)Python ssh连接L ...

  6. 远程ssh连接Linux服务器,隔一段时间就断了

     远程ssh连接Linux服务器,隔一段时间就断了  http://zhidao.baidu.com/link?url=DGP85x4WlVwYbdzg3HbkViPHmJo_TFkJRgUmh1 ...

  7. 【已解决】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 ...

  8. 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 ...

  9. Unable to negotiate with 123.4.47.238 port 29418: no matching host key type found. Their offer: ssh-

    Unable to negotiate with 123.4.47.238 port 29418: no matching host key type found. Their offer: ssh- ...

  10. 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 ...

最新文章

  1. SQL SERVER数据库 “可能发生了架构损坏。请运行DBCC CHECKCATALOG。的错误修复
  2. Bullmind在线读书笔记软件
  3. C语言程序设计双语版,双语版C程序设计(英汉对照)
  4. 【Python Flask】使用Ajax从后台请求数据
  5. vue项目配置eslint(附visio studio code配置)
  6. 用多媒体库 Bass.dll 播放 mp3 [15] - 设置与获取播放速度
  7. python求完全平方数_【Python】【demo实验6】【练习实例】【完全平方数相关】
  8. 收到群硕的offer了
  9. ostringstream的使用方法
  10. RecyclerView+Retrofit+OkHttp+RxJava
  11. php的垃圾回收机制
  12. 工厂系列系统之 MES 系统8 生产计划-订单
  13. 数字8(eight )题解
  14. 年底大标预备!2019通信招投标大势到底是怎样的?
  15. 使用Charles做弱网测试入门篇
  16. 录音转文字,怎么把手机录音转文字
  17. selenium 成功绕过淘宝登录反爬机制
  18. 计算机windows解压文件,Win10专业版怎么压缩和解压缩文件 简单快速的解压缩方法...
  19. YBT 1223 An Easy Problem
  20. 农产品电子商务行业研究及十四五规划分析报告

热门文章

  1. php工具箱怎么换php版本,最新php程序员工具箱 v1.0版本介绍
  2. python与排版设计欣赏_有哪些排版惊艳的建筑作品集?
  3. PS如何做文字扫描效果(用于较淡的扫描件)
  4. QODBC查询Oracle中文乱码问题
  5. Java携带HTTP头信息下载网络图片
  6. 【chp2】车万翔-自然语言处理:基于预训练模型的方法
  7. FCM算法的matlab程序
  8. matlab 非均匀采样,非均匀采样信号的频谱分析
  9. java多用户商城系统——支持springcloud
  10. Multisim14仿真基本模拟电路之10.4.2 RC 正弦波振荡器的仿真实验与分析