* [[http://help.cs.nctu.edu.tw/help/index.php/%E5%85%AC%E5%91%8A_-_%E5%90%84%E5%B7%A5%E4%BD%9C%E7%AB%99%E9%80%A3%E7%B7%9A%E8%A6%8F%E5%89%87|公告 - 各工作站連線規則]] * [[http://blog.xuite.net/vexed/tech/22157888|用 PuTTY 的 SSH Tunnel 瀏覽網頁]] * [[http://serverfault.com/questions/272754/what-is-the-difference-between-local-remote-dynamic-ssh-tunneling|What is the difference between Local/Remote/Dynamic SSH tunneling?]] * Local 和 Remote 代表正反向 SSH Tunnel。 * Dynamic 代表建立 SOCKS proxy。 * [[http://freddebostrom.wordpress.com/2009/04/10/ssh-tunnel-from-the-command-line/|SSH tunnel from the command line]] # -N # 不開啟 tty 終端。 # -f # 背景執行。 # -D 8080 # 開啟 SOCKET proxy。將本地端 8080 埠連線轉發到 alumni.cs.nctu.edu.tw。 # -p port # 繞過防火牆對 ssh 連線的阻檔。 $ ssh -Nf -D 8080 -p port username@alumni.cs.nctu.edu.tw # # -M 12345 # autossh 於 12345 埠監控 ssh 連線。也可透過指定 echo port 方式進行監控。 # $ autossh -M 12345 -Nf -D 8080 -p port username@alumni.cs.nctu.edu.tw * [[http://straightedgelinux.com/blog/howto/socks.html|How to Create a SOCKS Proxy through an SSH Tunnel]] * [[http://josephj.com/entry.php?id=312|反向建立 SSH Tunnel、免 VPN 連回公司]] * [[http://portable.easylife.tw/2043|Reverse SSH Tunnel實際運用,搭配auotssh永不斷線,putty建立反向tunnel]] * [[wp>Tunneling protocol]] * Computer networks use a tunneling protocol when one network protocol (the delivery protocol) encapsulates a different payload protocol. * To set up an SSH tunnel, one configures an SSH client to forward a specified local port to a port on the remote machine. Once the SSH tunnel has been established, the user can connect to the specified local port to access the network service. The local port need not have the same port number as the remote port. * [[http://help.cs.nctu.edu.tw/help/index.php/Proxy%E8%A8%AD%E5%AE%9A%E6%96%B9%E6%B3%95|如何使用系計中的proxy來瀏覽網站]] * [[http://stefaanlippens.net/ssh_tunneling_to_subversion_server_behind_firewall|Accessing a svn server behind a firewall]] * [[http://stackoverflow.com/questions/2373762/connecting-to-svn-server-behind-corporate-firewall-from-home|How can I configure TortoiseSVN to connect to a SVN server behind a corporate firewall from home?]] # # -L 8190:llvm.org:80 # 將本地端 (localhost) 8190 埠連線,透過與 alumni 的 ssh 連線,轉發至 llvm.org 80 埠。 # 根據 svn 欲連線的協定,選擇對應的遠端主機埠。 # $ ssh -L 8190:llvm.org:80 -p port username@alumni.cs.nctu.edu.tw # # 對 http://localhost:8190/svn/llvm-project/llvm/trunk 的連線,會被轉發至 # http://llvm.org:80/svn/llvm-project/llvm/trunk # $ svn co http://localhost:8190/svn/llvm-project/llvm/trunk llvm * [[http://stackoverflow.com/questions/7249097/what-ports-need-to-be-open-for-svn-tortoise-to-authenticate-clear-text-and-com|what ports need to be open for svn tortoise to authenticate (clear text) and commit]] * [[http://www.revsys.com/writings/quicktips/ssh-tunnel.html|Quick-Tip: SSH Tunneling Made Easy]] * [[http://alpengeist-de.blogspot.tw/2012/03/github-with-cygwin-git-behind-corporate.html|GitHub with cygwin git behind corporate firewall and proxy]] * git ssh corkscrew * [[https://www.cs.nctu.edu.tw/vpn/login.html|NCTU CS VPN]]