ssh via tunnel

June 2nd, 2008  | Categories: 网络_Network  | Tags: ,

Connect trough proxy is currently not support by ssh, so when i am trying to connect to my simplife.net under Ubuntu, it can not get through with the proxy setting in ‘Preference - Network Proxy’.

Googled and I found a third party tiny software can make it through.

sudo apt-get install corkscrew
sudo nano /etc/ssh/ssh_config

Add this at the bottom of ssh_config:

ProxyCommand corkscrew proxy.example.com 8080 %h %p

Done.

cong@cong-laptop:~$ ssh -V | uname -a
Linux cong-laptop 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux
OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007

Top