[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] Use git push with tor?

On Wed, 26 Dec 2012 11:17:38 +0000, Jerzy ??ogiewa wrote:
> Hello!
> I have server only for hidden service. ssh is accessible ONLY via different hidden service address. I want to push code to server from local git (git push ...). Are any special setups needed for this? Ideal is that I do not have to 'usewithtor git push ...' every time, so maybe some config in the local .git directory makes it possible?

You can set up a ProxyCommand for a hostname in .ssh.config, which
in turn uses tor's local socks5 proxy port via netcat, like

Host mygithiddenserver
  ProxyCommand nc -X5 -x whatever.onion 22

and then use mygithiddenserver as host name in git clone etc.

[Requires a socks5-capable netcat.
 Understanding what happens recommented. :-)]

> Anyone besides me has this need?



"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
tor-talk mailing list