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.