Skip to content

Setup Windows SSH to connect via Proxy to Host

I had the problem to connect to a SSH Host through a HTTP Proxy. I could run it with Putty, just entering the host and port in the proxy configuration section.


Fine so far, but I want to clone GIT repositories from this host, git clone ssh:// So Putty was out (maybe I could tunnel…). So I used this solution:

  • Install basic Cygwin
  • Install packages openssh, git and corkscrew
  • Setup  ~/.ssh/config (where is the HTTP proxy host and 8080 the http proxy port.
    ProxyCommand corkscrew 8080 %h %p

That was all, I setup my SSH key and could connect.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.