ssh 报error: kex protocol error: type 30 seq 1

由于近期服务器升级了openssl,在使用navicat连接数据库报

查看日志

sshd[1990]: error: kex protocol error: type 30 seq 1 [preauth]

 解决办法

 vim /etc/ssh/sshd_config

KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1

 重启ssh服务,在次登录就可以了 

posted @ 2019-04-16 16:30  随心朝阳  阅读(3561)  评论(0编辑  收藏  举报