保存后点击运行然后叉掉在MobaXterm的终端窗口里输入
ssh -p2222 127.0.0.1(用自己安装了MobaXterm的电脑IP替换)
正常显示:
继续输入:
export http_proxy="localhost:2222"\
export https_proxy="localhost:2222"
检查是否配置成功:
(ECGQA) zwu@zwu-SYS-2028GR-TR:~$ curl google.com
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
这样就好啦!!!撒花