【无标题】

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

相关推荐
他们都叫我GPT侠1 小时前
【无标题】
git·github
果汁华1 小时前
CLI 命令行与 Python 框架实战
git·python·github
zzzzzz3102 小时前
我用 AI Agent 重构了日常开发工作流,效果出乎意料
人工智能·git·github
我叫黑大帅16 小时前
git 的 NFD 与 NFC 有什么区别?为什么我有个文件在 NFC 中间不会被当成改动,在 NFD 中就会当成改动
git·面试·github
呆萌很19 小时前
Git push 408 超时、远程断开解决办法
git
Lesile20 小时前
Hands-on Git experience
git
Co_Hui21 小时前
Git 基本使用
git
cooldream200921 小时前
AI 时代,Git 应该怎么学
人工智能·git
柒和远方1 天前
V053: 从 Git 回退到 AI 工程治理:Vibe Coding 的 Harness 工作流与质量阀门
git·vibecoding
炸膛坦客1 天前
Git 和 GitHub:(五)一文给出常用 Git 命令,持续更新中......
git·github