原因是Terminal找不到支持的密钥交换方法,因为新版Openssh中认为SHA1这种hash散列算法过于薄弱,已经不再支持,所以我们需要手动去允许对于SHA1的支持 。
解决办法:
在生成公钥的~/.ssh文件夹下,新建一个config文件(config文件没有后缀),文件中添加如下内容:

Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa

Unable to negotiate with 120.26.106.212 port 22: no matching host key type f相关推荐

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

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

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

  4. Git提示: Unable to negotiate with xxx.xxx.xxx.xxx port XX: no matching host key type found.

    解决: 前提: 在排除没有配置公钥的情况下. 在Git的安装目录下 Git > etc > ssh 文件夹下找到 ssh_config 文件,在文件末尾添加一下代码 Host *Hostk ...

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

    标题 mac系统,想通过ssh连接,但出现以下报错:Unable to negotiate with 10.188.5.86 port 22: no matching host key type fo ...

  6. Unable to negotiate with XXXX port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

    问题描述 代码仓库已经添加了ssh公钥之后,克隆代码到本地时就报了这个问题 执行命令 git clone git@xxxxxxxxxxxxx.git 不能正常clone代码,报错信息如下: Unabl ...

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

    背景 下载安装了官网最新的Git: 安装没问题,配置了name和email: 同时也配置了ssh秘钥到代码仓库: 使用git bash命令或者从idea中clone代码,报错如下: Unable to ...

  8. git拉取代码报错:Unable to negotiate with xxx port xxx: no matching host key type found

    git拉取代码报错: Unable to negotiate with 172.18.19.44 port 22: no matching host key type found. Their off ...

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

最新文章

  1. 先记录一下吧 开始的程序 hello!java!
  2. Boyer-Moore 字符串匹配算法
  3. Cmake中的find_package功能
  4. ML之RF:kaggle比赛之利用泰坦尼克号数据集建立RF模型对每个人进行获救是否预测
  5. 利用邻接表完成图的BFS和DFS
  6. 你我他科技php面试题,北京科大”携手你我他”, “励”行爱加艾減公益
  7. 拼多多分享好友砍价Java实现_拼多多砍价怎么分享到朋友圈 砍价发到微信朋友圈方法...
  8. 【Processing学习笔记】安装与入门
  9. NOIP 2016 普及组 Solution (T1-T3)
  10. 混沌工程:Netflix系统稳定性之道
  11. get() got an unexpected keyword argument
  12. MS DTC服务无法启动解决方法
  13. x86_64-w64-mingw32/bin/ld.exe: cannot find -lmsvcrt
  14. 采集用python还是火车头_我才知道爬虫也可以酱紫--火车采集器
  15. 笔记-微信订阅号开发
  16. python网络编程中,Cisco packet tracer 中两个交换机和一个路由器的配置
  17. 基于OpenAPI Specification自动生成Android客户端代码
  18. python 大数据开发工程师_大数据系列之大数据开发工程师
  19. 关于雅可比行列式与积分换元
  20. Linux设备驱动之usb设备驱动详解

热门文章

  1. C++虚函数表解析 (Lawliet 修改+注释版)(附有部分网友的重要评论)
  2. 滚动截屏苹果_30个小技巧,带你玩转苹果三大系统
  3. 物联网毕设 -- 智能厨房检测系统
  4. 我是那个逼走创业合伙人的CEO,我有话说!
  5. kmp---Simpsons’ Hidden Talents(初学者能看懂的算法)
  6. react----元素的在窗口范围内的拖动(react-rnd)
  7. ASEMI插件整流桥有哪些型号
  8. Bean Validation完结篇:你必须关注的边边角角(约束级联、自定义约束、自定义校验器、国际化失败消息...)【享学Spring】
  9. VLC打不开视频文件调试技巧
  10. export、export default、import 的注意和require