记录Git Unable to negotiate with xxx... 问题
最近升级了 Git, 发现 Push、Pull 不了了, 上网查了下,是 openSSH8.8 不支持RSA算法,而git服务器只支持RSA,所以和服务器连接不上,本质上是加密算法的问题。
所以就算重新生成密钥 ,也是会有问题的,因为你生成密钥肯定是拿到Git服务器上,那就RSA,而openSSH 不支持,所以没用。
解决: 让连接支持 RSA 算法,进入到 C\user\username.ssh 中,如果没有则创建一个 config
文件,进入后,配置下面信息
Host git@HostName
// 下面是新增的配置
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
记录Git Unable to negotiate with xxx... 问题相关推荐
- 【ssh出错】Unable to negotiate with XXX: Their offer: ssh-rsa
本文编辑于2021-10-08. 最近升级了 OpenSSH后,ssh或者git连接服务器时出错,错误信息 Unable to negotiate with XXX.XXX.XXX.XXX port ...
- 【已解决】Unable to negotiate with XXX port : no matching host key type found. Their offer: ssh-rsa
一.场景 克隆代码库发生报错 二.具体报错信息 Unable to negotiate with XXX port : no matching host key type found. Their o ...
- 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 ...
- 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 ...
- 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 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 create 'E:/xxx/.git/index.lock': File exists.的解决办法
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明. 本文链接:https://blog.csdn.net/darlinghqq/article/d ...
- SourceTree报错git -c diff.mnemonicprefix=false fatal: Unable to create ‘D:/xxx/.git/index.lock‘: File
完整报错信息: git -c diff.mnemonicprefix=false -c core.quotepath=false commit -q -F C:\Users\honry.guan\Ap ...
- 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 ...
最新文章
- 【转】js之匿名函数
- 【Java小工匠聊密码学】--base58编码
- Slackware硬盘安装方法
- 重新解析 REST Service(REST Service 的最佳实践,第 1 部分)
- Linux服务器---网络配置
- 二叉堆(最小堆)(数据结构与算法分析的代码实现)
- css两栏式布局示例
- Spring Boot SchedulingConfigurer定时执行任务(配置式反射调用)
- MySQL.. ERROR! The server quit without updating PID file问题解决
- json字符串转成formdata_FormData 数据转化为 json 数据
- 话单数据仓库搭建(1)- 数仓概念及数据采集
- java epoll 模型_I/O多路复用技术详解之epoll模型
- vi编辑器的使用 快捷键
- 2018 Multi-University Training Contest 3 hdu多校第三场 Problem A:Ascending Rating(单调队列)
- 上网代理设置会被自动清空_每次开机IE代理服务器都被恶意设置,删除了,下次开机又出现,反反复复。我从没设置过它...
- hourglass pytorch 实现
- 洛谷试炼场 动态规划TG.lv(2)
- php关注账号,一键关注微信公众平台账号
- 第15周实践项目-洗牌(范型程序设计)(1)
- 特斯拉员工年薪曝光:软件工程师 109 万元