To make git-annex use Tor, run these commands in your git-annex repository:
- sudo git annex enable-tor
+ sudo git annex enable-tor $(id -u)
git annex remotedaemon
- git annex p2p --gen-address
+ git annex p2p --gen-addresses
The p2p command will output a long address, such as:
And make git-annex use Tor, by running these commands in the git-annex
repository:
- sudo git annex enable-tor
+ sudo git annex enable-tor $(id -u)
git annex remotedaemon
Now, tell the new peer about the address of the first peer.
git annex sync --content peer1
You can also generate an address for this new peer, by running `git annex
-p2p --gen-address`, and link other peers to that address using `git annex
+p2p --gen-addresses`, and link other peers to that address using `git annex
p2p --link`. It's often useful to link peers up in both directions,
so peer1 is a remote of peer2 and peer2 is a remote of peer1.
your repository over Tor. That takes the form of a long string of numbers
and letters, like "7f53c5b65b8957ef626fd461ceaae8056e3dbc459ae715e4".
-The addresses generated by `git annex peer --gen-address`
+The addresses generated by `git annex peer --gen-addresses`
combine the onion address with the authentication data.
When you run `git annex peer --link`, it sets up a git remote using