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

来自Silica Library | 間奏時光
跳到导航 跳到搜索

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.