当前位置:网站首页>Yyds dry goods counting uses xshell to implement agent function

Yyds dry goods counting uses xshell to implement agent function

2022-06-24 23:27:00 Code is not a horse

In the development process , It is inevitable to encounter the situation of Intranet development , But there was no vpn.

Actually SSH Connection tool xshell You can implement simple proxy functions

Don't talk much

​ Create a new session first

Connect to remote server ​

#yyds Dry inventory # Use xshell Realize the function of agent _mysql

Create a tunnel ​

The source host is the local host , The listening port is the local port ( Make sure that the local port is not occupied )

The target host is the host to proxy ( Make sure that the remote server is connected to the target host ), The target port is the port to be proxy

#yyds Dry inventory # Use xshell Realize the function of agent _ip agent _02

test

Here we proxy the target host MySQL Of 3306 The port after the port proxy is 33

Use navicat for MySQL To test

#yyds Dry inventory # Use xshell Realize the function of agent _ remote server _03

Click test - Show successful connection

#yyds Dry inventory # Use xshell Realize the function of agent _ remote server _04

原网站

版权声明
本文为[Code is not a horse]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202211127044053.html