2016-12-24 19:35:28 +00:00
|
|
|
Want to share all the files in your repository securely with a friend?
|
|
|
|
|
|
|
|
This connects to your friend's repository using
|
|
|
|
[Tor](https://torproject.org/). Both you and your friend will need to
|
|
|
|
install [Tor](https://torproject.org/) and
|
|
|
|
[Magic Wormhole](https://github.com/warner/magic-wormhole), and then both
|
|
|
|
follow these steps to connect your repositories.
|
|
|
|
|
2016-12-28 16:38:34 +00:00
|
|
|
Start by opening up your git annex webapp.
|
2016-12-24 19:35:28 +00:00
|
|
|
|
|
|
|
[[!img local_pairing_walkthrough/addrepository.png alt="Add another repository button"]]
|
|
|
|
|
|
|
|
`*click*`
|
|
|
|
|
|
|
|
[[!img pairing.png alt="Share with a friend"]]
|
|
|
|
|
|
|
|
`*click*`
|
|
|
|
|
2016-12-27 21:13:32 +00:00
|
|
|
[[!img enabletor.png alt="Enabling tor hidden service"]]
|
|
|
|
|
|
|
|
You will probably be prompted to enter a password, to configure Tor.
|
2016-12-24 19:35:28 +00:00
|
|
|
(Depending on how your system is configured, this may be the root password,
|
|
|
|
or your user account's password.)
|
|
|
|
|
2016-12-27 21:13:32 +00:00
|
|
|
[[!img wormholepairing.png alt="Pairing with a friend form"]]
|
|
|
|
|
|
|
|
A pairing code will be generated. Tell it to your friend. Ask them
|
2016-12-24 19:35:28 +00:00
|
|
|
for their pairing code, and enter it in the form.
|
|
|
|
|
|
|
|
Once you've exchanged pairing codes, your repositories will be connected
|
|
|
|
over Tor. They will begin to sync files back and forth, which can take a
|
|
|
|
while since Tor is not super-fast.
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
See [[tips/peer_to_peer_network_with_tor]] for more details.
|