navicat 链接数据库

使用navicat 的ssh通道连接数据库回遇到权限问题
错误代码如下:

80070007: SSH Tunnel: Server does not support diffie-hellman-group1-sha1 for keyexchange

解决方案如下:
1、进入 /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

2、执行下面代码

ssh-keygen -A

3.重启SSH

service ssh restart

相关文章:

  • 2022-12-23
  • 2021-12-28
  • 2021-08-13
  • 2021-08-03
  • 2021-10-01
  • 2022-12-23
  • 2021-11-20
  • 2021-04-06
猜你喜欢
  • 2021-10-05
  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
  • 2021-10-26
  • 2021-07-07
相关资源
相似解决方案