【无标题】

GIT clone异常Unable to negotiate with

问题现象

Unable to negotiate with 17.0.01 port 29418: no matching key exchange method

found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

fatal: Could not read from remote repository.

修复问题

在ssh目录创建config文件

vi ~/.ssh/config

文件中添加

Host *

KexAlgorithms +diffie-hellman-group1-sha1

HostkeyAlgorithms +ssh-dss,ssh-rsa

PubkeyAcceptedKeyTypes +ssh-dss,ssh-rsa

相关推荐
OsDepK7 小时前
移动编程OSMDE随时命令行进行Git
ide·git
小李不困还能学17 小时前
用git GUI往远程仓库中添加文件/文件夹
git
失途老马18 小时前
Git Patch 生成与应用完整操作手册
git
李白的天不白19 小时前
下载smartadmin框架
git·github
可乐要加冰^-^19 小时前
云雀文档下载
windows·git·github·石墨文档
NaclarbCSDN19 小时前
我写了一个命令行书签管理器,然后抛弃了浏览器书签栏
linux·git·python·github
++==20 小时前
git的安装以及基本命令使用、远程仓库的操作、vscode连接远程仓库进行项目的上传、gitee的使用
linux·git·gitee
kyriewen1 天前
Git Commit 前自动修复代码风格?配置 Husky + lint-staged,从此 CR 只聊逻辑
前端·git·面试
吹牛不交税2 天前
visualstudio把项目绑定git仓库
git
c238562 天前
git常见错误和ssh验证推送
运维·git·ssh