navicat通过ssh跳板机登陆报错Disconnected:No supported authentication methods available (server send:publickey)

Posted by gebaocai on March 11, 2023

这个错误是新版本openssh的特性,rsa类型密钥不在当前公钥识别类型中,导致无法连接。执行命令,然后重启sshd

1
2
echo "PubkeyAcceptedKeyTypes=+ssh-rsa" >>/etc/ssh/sshd_config 
service sshd restart