navicat连接mysql数据库报错处理 bestproxy • 2022年3月26日 pm12:11 • 代理百科 一般为了安全起见,数据不对外提供端口连接,采用代理或者vpn等方式进行连接。 我这里采用navicate连接,代理选择ssh代理,连接过程中总是出错。 目录 一、错误现象二、解决方法: 一、错误现象错误日志:expected key exchange group packet from server二、解决方法:追加KexAlgorithmsvim /etc/ssh/sshd_config KexAlgorithms [email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1 重启service sshd restart (centos6) systemctl restart sshd (centos7)