1.服务器控制台在安全组配置3306端口
2.进入 /etc/ssh/sshd_config 在最下面 加入下面代码
KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr
然后执行
ssh-keygen -A
最后重启SSH
service ssh restart
3.navicat配置
参考资料:
https://www.cnblogs.com/yidiandhappy/p/7404674.html
https://blog.csdn.net/liuhailiuhai12/article/details/64124637