summaryrefslogtreecommitdiff
path: root/doc/git-annex-enable-tor.mdwn
blob: f06966400ea1f921d2e644a6a3f6a64105c8aeac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# NAME

git-annex enable-tor - enable tor hidden service

# SYNOPSIS

git annex enable-tor

sudo git annex enable-tor $(id -u)

# DESCRIPTION

This command enables a tor hidden service for git-annex.

It modifies `/etc/tor/torrc` to register the hidden service. If run as a
normal user, it will try to use sudo/su/etc to get root access to modify
that file. If you run it as root, pass it your non-root user id number,
as output by `id -u`

After this command is run, `git annex remotedaemon` can be run to serve the
tor hidden service, and then `git-annex p2p --gen-address` can be run to
give other users access to your repository via the tor hidden service.

# SEE ALSO

[[git-annex]](1)

[[git-annex-p2p-auth]](1)

[[git-annex-remotedaemon]](1)

# AUTHOR

Joey Hess <id@joeyh.name>

Warning: Automatically converted into a man page by mdwn2man. Edit with care.