navicat使用ssh登录mysql报错:expected key exchange group packet from server

转载自:https://blog.csdn.net/enweitech/article/details/80677374

解决方法:

vim /etc/ssh/sshd_config
shift+g 添加
KexAlgorithms curve25519[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1

;重启
service sshd restart

 

参考:在Ubuntu16.04下安装mysql

sudo apt-get install mysql-server
sudo apt install mysql-client
sudo apt install libmysqlclient-dev

 

转载于:https://www.cnblogs.com/passedbylove/p/10561027.html

你可能感兴趣的:(navicat使用ssh登录mysql报错:expected key exchange group packet from server)