1. 程式人生 > >navicat 鏈接數據庫報80070007

navicat 鏈接數據庫報80070007

navicat ssh mysql

navicat用ssh跳轉登錄mysql連接時報:

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,[email protected],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


本文出自 “蒲蘆” 博客,請務必保留此出處http://7116805.blog.51cto.com/7106805/1980851

navicat 鏈接數據庫報80070007