git through proxy

You’re at work and want to access your git repo who’s residing in the free external world?

create the following config file in your .ssh folder:

Host
ProxyCommand connect -S <proxy host>:<proxy port> %h %p

replace the hosts and port as appropriate.

You can find the connect executable for windows here (contains a lot of other useful socks info as well).
Hat tip to pieter.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>