Jun
16
2022
SSH隧道使用
方法1:plink
plink.exe -ssh root@ xx.xx.xx.xx(服务器ip) -pw “xxxx密码” -P 22 -N -L 3308(本地端口):127.0.0.1:3306(服务器服务端口)
plink.exe -ssh -i sshrsa.ppk am00n@192.168.81.137 -L 4444:192.168.81.137:4444
方法2:ssh (windows自带但是需要输入密码)
ssh -fCNg -L 3309:127.0.0.1:3306 root@服务器ip -p 22
用 netstat 检查结果
netstat -anpto tcp | find “:3309”
SSH Tunnel Manager(比较推荐)
官网地址:https://code.google.com/archive/p/ssh-tunnel-manager/
最活跃的读者