技术栈

【无标题】

天人人2023-10-04 17:54

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

上一篇:Nginx查找耗时的接口
下一篇:EdgeView 4 for Mac:重新定义您的图像查看体验
相关推荐
爱码小白
14 小时前
GIT版本控制
git
遇见火星
15 小时前
Git 入门指南:从零开始掌握版本控制的魔法
git·版本控制
星际编程喵
16 小时前
研发流程规范:Git Commit 书写标准
git·gitee·github·gitcode
to future_
18 小时前
git超详细教程
git
GL_Rain
18 小时前
pip安装git库出现ModuleNotFoundError: No module named ‘xxx‘
git·pip
大白要努力!
21 小时前
Android 项目历史提交远程仓库资源过大,如何清理历史提交中无用的大文件
android·git
一点事
21 小时前
git:已有主分支,创建空分支,管理项目
git
指尖跳动的光
21 小时前
git 提交报 Updates were rejected because the tip of your current branch is behind
git
痕忆丶
1 天前
Git_Rebase_Conflict_Resolution
大数据·git
啃火龙果的兔子
1 天前
vscode中的git插件
git·vscode·elasticsearch
热门推荐
01GitHub 镜像站点02从快手“12·22”直播攻击事件看:一次教科书式的业务层饱和攻击03电脑检测软件—图吧工具箱043D 圣诞树网页代码05Linux下V2Ray安装配置指南06UV安装并设置国内源07在VSCode配置Java开发环境的保姆级教程(适配各类AI编程IDE)08jdk21下载、安装(Windows、Linux、macOS)09Claude Code Skills 实用使用手册10Gemini3 生成的基于手势控制3D粒子圣诞树