編碼的世界 / 優質文選 / 財富

2021-10-28 windows 的git用ssh拉代碼提示matching host key type found. Their offer: ssh-rsa


2022年5月12日
-   

windows 的git用ssh拉代碼,提示以下錯誤: Unable to negotiate with 10.106.41.111 port 7999: no matching host key type found. Their offer: ssh-rsa fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
在.ssh/config增加: Host 10.106.41.111 HostkeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa

熱門文章