前提条件
存在办公室机服务器 hostA
存在云服务器 hostB
使用场景
想在家中访问办公室的svn服务
操作
hostA
ssh -R3690:svn.yourcloud.com:80 youraccount@hostB
hostB
svn co http://localhost:3690/svn/codes
存在办公室机服务器 hostA
存在云服务器 hostB
想在家中访问办公室的svn服务
hostA
ssh -R3690:svn.yourcloud.com:80 youraccount@hostB
hostB
svn co http://localhost:3690/svn/codes