[tor-talk] Use git push with tor?
Andreas Krey
a.krey at gmx.de
Wed Dec 26 10:35:28 UTC 2012
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 127.0.0.1:9050 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?
Yes.
Andreas
--
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
More information about the tor-talk
mailing list