配置界面如下

 

主界面配置

Navicat通过ssh隧道连接内网数据库

 

 

Navicat通过ssh隧道连接内网数据库

 

 连接过程中遇到问题:

SSH:expected key exchange group packet form server

解决方法:

在/etc/ssh/sshd_config尾部添加以下代码

vim /etc/ssh/sshd_config

shift+g 添加
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1
 
;重启
service sshd restart

Navicat通过ssh隧道连接内网数据库

 

 

以上配置,在内网穿透的时候会用到,了解渗透测试的小伙伴可能会了解这些

参考来源:https://www.bbsmax.com/A/obzb242bzE/

https://my.oschina.net/u/4343037/blog/3353687

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-04
  • 2021-09-15
  • 2022-12-23
  • 2021-09-28
  • 2021-07-08
  • 2021-11-03
猜你喜欢
  • 2021-12-19
  • 2021-06-22
  • 2021-06-02
  • 2021-10-30
  • 2021-04-15
相关资源
相似解决方案