---
name: "git-annex-enable-tor"
section: "1"
platform: "linux"
package: "git-annex"
version: "10.20261026-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/git-annex-enable-tor"
---

# git-annex-enable-tor(1)

enable tor hidden service

## 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 --pair** or  **git-annex p2p --gen-addresses** can be run to give other users access to your repository via the tor hidden service.

## OPTIONS

- The [git-annex-common-options(1)](/git-annex-common-options/1.md) can be used.

  -

  ## SEE ALSO

[git-annex(1)](/git-annex/1.md)

[git-annex-p2p(1)](/git-annex-p2p/1.md)

[git-annex-remotedaemon(1)](/git-annex-remotedaemon/1.md)

## AUTHOR

Joey Hess \<id@joeyh.name\>
