由於近期服務器升級了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服務,在次登錄就可以了