SSH命令的三个强大的选项

先看看这条命令:

ssh -C -N -D 127.0.0.1:7070 user@ssh.host.com
  • -C:表示开启压缩,可以节省流量;
  • -N:表示不要交互终端;
  • -D IP:PORT:表示新建一个Socks服务器,指定端口号为PORT,通常是建在本地的;

有了这三个选项,你就能随便翻越G.F.W.了。

ssh
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License