Git 远程关联报错
来源:2-4 代码关联Git远程仓库

流年忘歌笑
2023-03-10
Unable to negotiate with 117.121.101.93 port 80: 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.
用了git push -u origin master 这个命令报了这个错
写回答
1回答
-
云非烟
2023-03-10
Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa在c盘,user里面找到.ssh文件夹,在里面添加一个config文件,不需要后缀名,里面添加
Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa这个报错具体的你搜解决方式都是让添加这个,具体其他报错,怎么提示你就怎么搜
00
相似问题