SSH提示Unable to negotiate Their offer: ssh-rsa

连接ssh服务时,提示:

Unable to negotiate with xxx.xxx.xxx.xxx port 22: no matching host key type found. Their offer: ssh-rsa

此问题是由于两遍的加密方式不同,此时可以通过指定加密方式来临时进入

ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa root@xxx.xxx.xxx.xxx

此方法用于临时进入,若要彻底解决,需要进行其他配置

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容