本地生成ssh,并配置了服务器SSH Public Keys
 
问题
拉去远程代码报错
git no matching host key type found. Their offer: ssh-rsa
(base) tangsiqi@tangsiqideMacBook-Pro VDI % git clone "ssh://tangsiqi@review.archeros.cn:29418/ArcherDT/vdi-server" && scp -p -P 29418 tangsiqi@review.archeros.cn:hooks/commit-msg "vdi-server/.git/hooks/"
Cloning into 'vdi-server'...
Unable to negotiate with 178.101.128.102 port 29418: 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 *
KexAlgorithms +diffie-hellman-group1-sha1
HostkeyAlgorithms +ssh-dss,ssh-rsa
PubkeyAcceptedKeyTypes +ssh-dss,ssh-rsa














![[MMDetection]COCO数据集可视化验证](https://img-blog.csdnimg.cn/img_convert/ed161824548e0b2b45d0271becde6a45.png)




