【无标题】

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

相关推荐
暮云星影2 小时前
git仓库分支管理
git·gitee·github·gitea
互联网中的一颗神经元1 天前
ZZ — Git 速查表
大数据·git·elasticsearch
早安试言1 天前
git使用
git
燐妤1 天前
梦绘片场 ProjectDream故事总纲场景剧本篇:从项目到成片的 AI 漫剧工作台
人工智能·git·ai·项目开发
JackieDYH1 天前
Git 与 GitHub 新电脑配置指南(从零开始)
git·github·工具·使用教程
Jeanyia2 天前
GitLab 配套 Git 常用命令
git·gitlab
10mAh2 天前
【Git】误删分支、reset --hard 后提交丢了怎么办?——reflog、fsck 与安全恢复实战
数据库·git·安全·回归
Lydro2 天前
CentOS 7 安装高版本git
git·centos 7
guwentian2 天前
Git Worktree 实战:用并行多 Agent 把开发提速 N 倍
大数据·git·elasticsearch·wroktree
不吃鱼的羊3 天前
Git识别未修改的文件有修改
git