ssh通道连接数据库报错

解决方案

 vi  /etc/ssh/sshd_config 
#在文件里面加入
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1

systemctl restart sshd