SSH Forwarding/SSH Tunneling

本文介绍了SSH隧道技术的基本概念及其在不同操作系统下的应用方法。通过设置本地端口转发、远程端口转发等方式,实现安全的数据传输通道。文中还提供了在Windows和Linux环境下配置SSH隧道的具体命令示例。

http://www.openssh.org


Tunneling with SSH

Windows to UNIX connectivity in a secure world

http://www.ibm.com/developerworks/aix/library/au-tunnelingssh/



SSH Tunneling - Poor Techie's VPN

http://www.linuxjournal.com/content/ssh-tunneling-poor-techies-vpn


SSH Forwarding HOWTO

http://www.linuxhorizon.ro/ssh-tunnel.html

http://www.spencerstirling.com/computergeek/sshtunnel.html


SSH Forwarding 实例:反向建立 SSH Tunnel、免 VPN 連回公司

http://josephj.com/entry.php?id=312


SSH Tunnel for Android System

http://code.google.com/p/sshtunnel/


plink

D:\path\>plink.exe -ssh -2 myusername@202.201.X.X -R 11188:localhost:80 -N -pw mypassword

http://www.chiark.greenend.org.uk/~sgtatham/putty/docs.html

http://the.earth.li/~sgtatham/putty/0.62/htmldoc/

http://the.earth.li/~sgtatham/putty/0.62/htmldoc/Chapter7.html#plink


Linux下使用SSH Tunneling

ssh -N -p 22 USERNAME@SERVER_IP -L 11180:localhost:80


Windows下使用plink实现SSH Tunneling

test.bat

plink.exe -ssh -2 USERNAME@SERVER_IP -R 11180:localhost:80 -N -pw YOUR_PASSWORD

可以用个VB脚本进行调用

test.vbs

 Set ws = CreateObject("Wscript.Shell") 
ws.run "cmd /c test.bat",vbhide 


PuTTY自带的plink.exe实现ssh绕墙技术

http://initiative.yo2.cn/archives/448643

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值