diff options
author | 2016-11-30 15:14:54 -0400 | |
---|---|---|
committer | 2016-11-30 15:16:25 -0400 | |
commit | f14c412232808399c609e0dd484b8243af7daa3a (patch) | |
tree | ce47c3914ad582525c4632d0229ea02bd4e1222e /doc/tips/peer_to_peer_network_with_tor.mdwn | |
parent | 66b3af4aa5c3bbb53fc27b25303c4e69364930f5 (diff) |
implement p2p --link
This commit was sponsored by Riku Voipio.
Diffstat (limited to 'doc/tips/peer_to_peer_network_with_tor.mdwn')
-rw-r--r-- | doc/tips/peer_to_peer_network_with_tor.mdwn | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/tips/peer_to_peer_network_with_tor.mdwn b/doc/tips/peer_to_peer_network_with_tor.mdwn index de018e3ce..048187458 100644 --- a/doc/tips/peer_to_peer_network_with_tor.mdwn +++ b/doc/tips/peer_to_peer_network_with_tor.mdwn @@ -42,16 +42,17 @@ repository: sudo git annex enable-tor git annex remotedaemon -Now, tell the new peer about the address of the first peer: +Now, tell the new peer about the address of the first peer. +This will make a git remote named "peer1", which connects, +through Tor, to the repository on the other peer. - git annex p2p --link tor-annnex::eeaytkuhaupbarfi.onion:4412:7f53c5b65b8957ef626fd461ceaae8056e3dbc459ae715e4 --named peer1 + git annex p2p --link peer1 -(Of course, you should paste in the address you generated earlier, -not the example one shown above.) +That command will prompt for an address; paste in the address that was +generated on the first peer, and then press Enter. -Now this git-annex repository will have a remote named "peer1" -which connects, through Tor, to the repository on the other peer. -You can run any commands you normally would to sync with that remote: +Now you can run any commands you normally would to sync with the +peer1 remote: git annex sync --content peer1 |