静看光阴荏苒
不管不顾不问不说也不念

no matching host key type found. Their offer: ssh-rsa

昨天发现又有一台甲骨文ARM引导丢了,然后按照之前的这篇文章创建控制台连接后一直连不上,报错:

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

应该是SSH版本的问题,解决办法,新建一个SSH配置文件:

nano /etc/ssh/ssh_config.d/fix-oracle-console.conf

写入如下内容:

HostKeyAlgorithms = +ssh-rsa
PubkeyAcceptedAlgorithms = +ssh-rsa

重载SSH服务:

systemctl reload sshd
赞(0)
未经允许不得转载:荒岛 » no matching host key type found. Their offer: ssh-rsa
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

分享创造快乐

广告合作资源投稿