no matching host key type found. Their offer: ssh-rsa 错误解决

no matching host key type found. Their offer: ssh-rsa 错误解决

今天使用 OCI Console connection 报错,错误信息如下,

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

解决方法,

vi ~/.ssh/config

--- add
Host *
    HostKeyAlgorithms +ssh-rsa
    PubkeyAcceptedAlgorithms +ssh-rsa
---

完结!

猜你喜欢

转载自blog.csdn.net/engchina/article/details/132724024
今日推荐