Unable to negotiate with xx.xxx.xxxx port 22: no matching host key type found. Their offer: ssh-rsa(解决的两种方式)

在.ssh文件中创建config文件并添加配置 第一行说明对所有主机生效,当然你也可以指定对应主机地址! Host * HostkeyAlgorithms +ssh-rsa PubkeyAcceptedKeyTypes +ssh-rsa
posted @ 2023-03-08 17:48  自然对数  阅读(28)  评论(0编辑  收藏  举报