转载自:https://blog.csdn.net/enweitech/article/details/80677374
解决方法:
vim /etc/ssh/sshd_config shift+g 添加 KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1 ;重启 service sshd restart
sudo apt-get install mysql-server sudo apt install mysql-client sudo apt install libmysqlclient-dev