连接的端口的密钥没有匹配
● 解决方法
查看网上的各种方法,这种情况的原因就是新的ssh客户端不支持ssh-rsa算法,要修改本地配置重新使用ssh-rsa算法。
在.ssh文件下创建config文件(config没有后缀名),使用记事本打卡添加以下内容并保存:
Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
重新上传即可。
Unable to negotiate with ***** port **:no matching host key type found...连接的端口的密钥没有匹配
最新推荐文章于 2024-03-13 13:01:37 发布