Activity Team/Git FAQ: Difference between revisions

formatting
Line 125: Line 125:
===Commit access behind firewall===
===Commit access behind firewall===


If you we are behind firewall and need only RO access to git.sugarlabs.org you can use HTTP lins, like
:If you are behind a firewall and need only ''Read-Only'' access to git.sugarlabs.org, you can use HTTP links, like
  http://git.sugarlabs.org/git/<project>/mainline.git
  http://git.sugarlabs.org/git/<project>/mainline.git


But if you need commit access you'll have to setup ssh proxy tunnel. One options is using [http://www.torproject.org/ Tor]. So, install all requirements:
:But if you need commit access, you'll have to set up an SSH proxy tunnel. One option is using [http://www.torproject.org/ Tor]. So, install all requirements:
* [http://www.torproject.org/ Tor] to make tunnel via Tor network
* [http://www.torproject.org/ Tor] to make tunnel via Tor network,
* [http://www.meadowy.org/~gotoh/projects/connect/ connect] to let ssh using this tunnel
* [http://www.meadowy.org/~gotoh/projects/connect/ connect] to let SSH use this tunnel.
You don't need any special configs for this software(in case of Tor if your distribution makes some smart pre-configurations, just remove /etc/tor/torrc).
:You don't need any special configs for this software (in case of Tor, if your distribution makes some smart pre-configurations, just remove /etc/tor/torrc).


Setup your tunnel in ssh. Add followed lines to your ~/.ssh/config
:Setup your tunnel in SSH. Add the following lines to your ~/.ssh/config
  Host git.sugarlabs.org
  Host git.sugarlabs.org
     User gitorious
     User gitorious
     ProxyCommand /usr/bin/connect -S 127.0.0.1:9050 git.sugarlabs.org 22
     ProxyCommand /usr/bin/connect -S 127.0.0.1:9050 git.sugarlabs.org 22


Then start [http://www.torproject.org/ Tor], you can just run it on behalf of your account
:Then start [http://www.torproject.org/ Tor], you can just run it on behalf of your account
  tor
  tor


Then do the regular stuff you can do without any firewalls.
:Then do the regular stuff you can do without any firewalls.


''NOTE'' If you are using [http://www.torproject.org/ Tor] on regular manner, please consider possibility to [http://www.torproject.org/docs/tor-doc-relay.html.en help] Tor by donating your bandwidth.
:''NOTE:'' If you use [http://www.torproject.org/ Tor] on a regular basis, please consider the possibility of [http://www.torproject.org/docs/tor-doc-relay.html.en helping] Tor by donating your bandwidth.


[[Category:Activity Team]]
[[Category:Activity Team]]
[[Category:FAQ]]
[[Category:FAQ]]