ssh隧道

为了能够下到学校的论文

万方,cnki , ieee, acm

 

在 小弟机器上:
xiaodi@scholl :~$ ssh -D 8000 localhost                       //建socks代理服务器

 

xiaodi@scholl :~$ ssh  -Nfg -R 9004:*:8000 [email protected] 

 

-g好像是建立双向连接的意思

 

在我机器上:
ssh -Nfg -L 7004:*:9004  [email protected]

 

然后在我机器上:
curl --socks4 localhost:7004 http://g.cn

 

配合chrome的Proxy! switch很爽~

ssh隧道_第1张图片

你可能感兴趣的:(.net,unix,ssh,ubuntu,chrome)