如何在Ubuntu下利用SSH翻墙

作者:tomyiyun  来源:不安静的书桌  

在Ubuntu9.04(我的教程果然跳票了)下已经有一段时间了,如何翻墙成了一个很重要的的问题(Windows下如何翻墙)。而且前一段在GoogleAnalysis上发现竟然有人通过搜索Ubuntu翻墙。来到我的Blog。毋庸置疑他没有在我这里找到答案。

通过一段时间的Google,终于找到了如何在Ubuntu下利用SSH翻墙。Via

假设你的用户名为Tomyiyun (没有SSH帐号?)服务器为proxy.liuhanyu.com那么你只需要在终端下输入

ssh -qTfnN -D 7070 tomyiyun@proxy.liuhanyu.com

命令注释:

-q :- be very quite, we are acting only as a tunnel.
-T :- Do not allocate a pseudo tty, we are only acting a tunnel.
-f :- move the ssh process to background, as we don’t want to interact with this ssh session directly.
-N :- Do not execute remote command.
-n :- redirect standard input to /dev/null.

后面的就跟在Windows下一样了…………

看我以前的文章吧,不再重复了

1 条评论:

Tomy?Tomy! 说...

关注了您好就,忽然发现竟然转我的文章了,谢谢了。我会努力写出更多有关gfw的文章的。