idea中git clone报错

在使用idea进行clone代码时报如下错:Unable to negotiate with ***.**.**.** port *****: no matching host key type found. Their offer: ssh-rsa,ssh-dss Could not read from remote repository.  Please make sure you have the correct access rights and the repository exit。

 原因是:电脑静默升级了 openssh 8.8-p1 版, 你会发现连接某些之前连接得好好的服务器突然无法连接。

参考此篇文档解决的:https://ttys3.dev/post/openssh-8-8-p1-no-matching-host-key-type-found-their-offer-ssh-rsa/

原文地址:https://www.cnblogs.com/miaoxiaochao/p/15532622.html