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 negotiate with 118.31.165.50 port 22: no matching host key type found. Their offer: ssh-rsa fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.
上面的报错信息说的是没有匹配到类型为ssh-rsa的主机秘钥;也有一些报错的类型是Their offer: ssh-dss
- 解决(以下两种方法本人都已成功验证)
- 1、卸载高版本,使用低版本git(最简单);
- 2、在.ssh目录中新建config配置文件,在文件中添加如下代码:如果是dss则将rsa更换为dss即可
Host * HostkeyAlgorithms +ssh-rsa PubkeyAcceptedKeyTypes +ssh-rsa
Unable to negotiate with xx.xx port xx: no matching host key type found. Their offer: ssh-rsa....相关推荐
- 【已解决】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 ...
- 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- ...
- 【已解决】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 ...
- Git error: Unable to negotiate with X.X.X.X : no matching host key type found . their offer: ssh-dss
2019独角兽企业重金招聘Python工程师标准>>> I am trying to create a git repository on my web host and clone ...
- 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 ...
- 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 ...
- unable to negotiate with xxxxx port xxx: no matching host key type found. Their offer: ssh-rsa
unable to negotiate with xxxxx port xxx: no matching host key type found. Their offer: ssh-rsa windo ...
- 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 ...
- Unable to negotiate with XX.XX.XX.XX: no matching host key type found. Their offer: ssh-dss
本文 Github/javamap 已收录,有Java程序员进阶技术知识地图以及我的系列文章,欢迎大家Star. 在我把本地程序提交到远程分支上时 $ git push origin share_da ...
最新文章
- SOA标准发展混乱 国内业务缺少经验
- 变焦即可判断物体的距离
- 如何制定好的方案之三:实施策略是关键
- python网页登录钉钉_django 钉钉扫码登录
- AIOps-一位研发工程师的学习笔记
- 柠檬班python自动化视频百度云_python自动化装逼指南1-装饰器详解
- ant java xml文件,ant 学习(2)-ant开发java程序,buile.xml文件分离
- Python标准库zlib提供的数据压缩功能
- 配置文件默认有项目路劲_SpringBoot 深度调优,让你的项目飞起来!
- 整型索引查询mysql是不是快点_图解Mysql索引的数据结构!看不懂你来找我
- 乌班图系统修改服务器时间的命令,ubuntu 修改系统时间无效
- [POJ3580]SuperMemo
- tp3.2 判断请求类型
- 揭秘Mindscape WPF Elements 5新特性
- 线性代数(四十二) : 超定方程组
- jenkins+donet core持续集成环境搭建
- 云计算业务发展迅速 或成资本角逐新战场
- 错误:Redis----(error) MISCONF Redis is configured to save RDB snapshots
- JVM——垃圾回收算法
- win10兼容模式怎么设置_win10开始菜单没反应怎么办?是因为没有设置这个
热门文章
- JavaScript最详细攻略
- EXPLAINING AND HARNESSING ADVERSARIAL EXAMPLES 论文笔记
- android平板更新系统,终于跟上安卓!iPad Pro新功能曝光:系统升级方便了
- OGRE渲染引擎之地形、天空和雾
- 这可能是Python里最强的绘制地图神器
- mysql主从安装配置
- can总线短距离不用双绞线_can总线(一)物理层—屏蔽双绞线
- Heartbleed心脏出血漏洞靶场搭建
- 萨鲁曼的军队 Saruman‘s Army(挑战程序设计竞赛)
- 10个免费的顶级跨浏览器测试工具