【无标题】

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

相关推荐
小比特_蓝光1 小时前
版本控制器Git/调试器gdb/cgdb使用
git
海参崴-2 小时前
Git使用完全指南
git
Jp7gnUWcI2 小时前
AI Compose Commit:用 AI 智能重构 Git 提交工作流
人工智能·git·重构
小柯博客2 小时前
从零开始打造 OpenSTLinux 6.6 Yocto 系统 - STM32MP2(基于STM32CubeMX)(八)
c语言·git·stm32·单片机·嵌入式硬件·嵌入式·yocto
eastyuxiao11 小时前
如何在不同的机器上运行多个OpenClaw实例?
人工智能·git·架构·github·php
bu_shuo13 小时前
git练习学习网站【中文网站】
git·学习
秃秃然然14 小时前
Git指北
git
适应规律18 小时前
Git笔记
笔记·git
csdn_aspnet18 小时前
Git二分法精准定位Bug,分享用git bisect快速锁定引入缺陷的提交,提升调试效率
git·bug·二分查找
可问春风_ren20 小时前
HTML零基础进阶教程:解锁表单、多媒体与语义化实战
前端·git·html·ecmascript·reactjs·js