Git: Unable to negotiate with * port 22: no matching host key type found. Their offer: ssh-rsa.

来自Silica Library | 間奏時光
Silica讨论 | 贡献2022年1月14日 (五) 06:29的版本 (创建页面,内容为“Category:Windows 2022-01-14 14:25 == Method ==   Edit C:\Users\<YourName>\.ssh\config (Create file "config" if not exist): <pre> Host * HostkeyAlgorithms +s…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

2022-01-14 14:25

Method

  Edit C:\Users\<YourName>\.ssh\config (Create file "config" if not exist):

Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa

  Save. Close the Git and try again.