热门搜索 :
考研考公
您的当前位置:首页正文

通过代理连接ssh

来源:东饰资讯网

注意
在进行./configure时在MAC下可能会错误,这个在别的教程中几乎没有提及,这里的做法是:

./configure --host=apple

Tunnel SSH through a proxy on MacOS X Mountain Lion

cd ~/Downloads
tar -xfv corkscrew-2.0.tar
cd corkscrew-2.0
./configure --host=apple
make
sudo make install
ProxyCommand /usr/local/bin/corkscrew  8080 %h %p

If your proxy requires authentication like mine then you need to modify your ~/.ssh/config slightly.

Host *
  ProxyCommand corkscrew  8888 %h %p
Top