Praveen's Blog

An Eternal Quest for Incremental Improvement

SSH through HTTP proxy

When you are behind a HTTP proxy and you want to SSH to a server on the Internet, the best choice is to use corkscrew. After installing corkscrew in your PATH, the SSH command goes like this.

# ssh -o "ProxyCommand corkscrew <Proxy server> <Proxy port> %h %p" <SSH server>

Comments