navicat用ssh跳转登录Mysql连接时报:80070007: SSH Tunnel: Server does not support diffie-hellman-group1-sha1 for k
80070007: SSH Tunnel: Server does not support diffie-hellman-group1-sha1 for keyexchange
是由于ssh 配置缺少KexAlGorithms与Ciphers导致。
解决办法是进入/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
--结束END--
本文标题: navicat 链接数据库报80070007
本文链接: https://www.lsjlt.com/news/44213.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-16
2024-05-16
2024-05-16
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0