I have a remote mercurial repository (managed by hg-gateway) on a server. Access to that server is not open to the general public; however, the firewall allows ssh proxying.
How do I configure a windows client to access that repository with tortoisehg?
Note that it is different from this, as in that question there is no proxying involved. I am looking for the windows equivalent of
Host remote-dev
user mercurialuser
ProxyCommand ssh -q firewalluser@firewall
for accessing a mercurial repo like
hg clone ssh://remote-dev/repo
I have found a working solution and I will post it below in the answers for the benefit of the community.