技术栈

【无标题】

天人人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:重新定义您的图像查看体验
相关推荐
何中应
2 小时前
IDEA 中让 Git 忽略 .idea 目录
java·git·intellij-idea
小柯博客
5 小时前
从零开始打造 OpenSTLinux 6.6 Yocto 系统 - STM32MP2(基于STM32CubeMX)(六)
c语言·git·stm32·单片机·嵌入式硬件·开源·yocto
静若繁花_jingjing
5 小时前
Git分支命令
git
stu_kk
6 小时前
Git常用操作指令
git
顾默@
8 小时前
关于git推送到远程仓库的一些操作
git
___波子 Pro Max.
11 小时前
Git 2.23新增命令switch使用指南
git
℘团子এ
18 小时前
git中,项目怎么更换远程仓库连接地址
git
言之。
1 天前
Git Hooks
git
代码AI弗森
1 天前
Git Bash 与 PowerShell:定位差异、使用场景与选择建议
开发语言·git·bash
森叶
1 天前
Git flow command error: ‘flow‘ is not a git command 问题解决
git
热门推荐
01GitHub 镜像站点02Vue-skills的中文文档03一文了解国产算子编程语言 TileLang,TileLang 对国产开源生态的影响与启示04Claude Code Skills 实用使用手册05让 Trae IDE 智能体 “读懂”文档 Excel+PDF+DOCX :mcp-documents-reader 工具使用指南06UV安装并设置国内源07Claude Code + GLM4.7 避坑指南:解决 Unable to connect to Anthropic services08在Trae中使用Pencil MCP09OpenClaw部署与配置教程:在Mac mini上接入国产大模型与飞书10OpenCode 入门教程:介绍 · 安装 · 配置第三方 API (如 Claude)