git-annex-enable-tor(1)
β¨ git-annex-enable-tor β¨
bestie. you are about to turn your repo into a whole secret little tor hidden service and honestly? iconic behavior. this is page one of the git-annex manual, section one, general commands manual, and we are gonna get you SET UP π
πΈ NAME πΈ
git-annex-enable-tor β enable tor hidden service π§
β¨
π SYNOPSIS π
git annex enable-tor
sudo git annex enable-tor $(id -u)
π¦ DESCRIPTION π¦
okay so, this command enables a tor hidden service for git-annex. lowkey magical, highkey useful π«Ά
here's the tea: it goes in and modifies /etc/tor/torrc to register the hidden service. that's the file. that's the one it touches. no cap.
if you run it as a normal user, it will try to use sudo/su/etc to get root access so it can modify that file. it's giving "i'll ask politely for the keys" π
if you run it as root, then you gotta pass it your non-root user id number, as output by id -u. like, the command needs to know which human this hidden service is actually for. so:
sudo git annex enable-tor $(id -u)
the way that $(id -u) just hands over your uid in the middle of a sudo call... chef's kiss π
ngl, if you're root and you don't pass the user id, you're gonna have a bad time. the user id is the whole point of that second synopsis line, fr fr.
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. that's the full pipeline: enable it, serve it, invite your friends in π₯³
π OPTIONS π
- The
git-annex-common-options(1)can be used.
that's it. that's the options section. sometimes less is more, bestie β¨
π SEE ALSO π
π AUTHOR π
Joey Hess <id@joeyh.name>
and that's the whole page, babe π©· this came to you straight out of the git-annex-enable-tor(1) manual β the general commands manual, section 1 β and it's a certified banger. go forth, enable your hidden service, and slay. periodt π
ππ¦
π¦ where this page comes from
- alpine 3.24: git-annex-doc 10.20261026-r0 Β· AGPL-3.0-or-later
- arch rolling: git-annex 10.20261026-2 Β· AGPL-3.0-only
- fedora 43: git-annex 10.20250929-5.fc43 Β· AGPL-3.0-or-later
- fedora 44: git-annex 10.20260115-1.fc44 Β· AGPL-3.0-or-later
- nixos 26.05: git-annex 10.20260421
- nixpkgs unstable: git-annex 10.20260421
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- ubuntu resolute: git-annex 10.20251029-1ubuntu1 Β· AGPL-3.0-or-later
- ubuntu stonking: git-annex 10.20251029-1ubuntu1 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms