注意
在进行./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