修改ssh配置文件
最后一行新增
vim /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
修改ssh配置文件
最后一行新增
vim /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
Navicat 连接SSH方式连接mysql报错 sshexpected key exchange group packet
https://www.oaroad.com/archives/navicat-%E8%BF%9E%E6%8E%A5ssh%E6%96%B9%E5%BC%8F%E8%BF%9E%E6%8E%A5mysql%E6%8A%A5%E9%94%99-sshexpected-key-exchange-group-packet
评论