aboutsummaryrefslogtreecommitdiffstats
path: root/git.sr.ht
diff options
context:
space:
mode:
authorÉloi Rivard <eloi@yaal.fr>2019-05-27 09:20:43 +0200
committerDrew DeVault <sir@cmpwn.com>2019-05-27 10:23:55 -0400
commite6f6aab1d38f72580e4f46823a77a8890d391323 (patch)
tree1f51dd19b0f6330f01b58d12a02dd3218621ca1d /git.sr.ht
parentb6222a32dfc9e427f92a81bfdae8b3e0fc5ab156 (diff)
downloadsr.ht-docs-e6f6aab1d38f72580e4f46823a77a8890d391323.tar.gz
Instructions to build gitsrht-dispatch
Some instructions to help people totally unfamiliar with go (like me). Maybe the real good solution would be that setup.py build (and install) gitsrht-dispatch?
Diffstat (limited to 'git.sr.ht')
-rw-r--r--git.sr.ht/installation.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/git.sr.ht/installation.md b/git.sr.ht/installation.md
index 41e7ae9..f156ee6 100644
--- a/git.sr.ht/installation.md
+++ b/git.sr.ht/installation.md
@@ -21,8 +21,11 @@ and ensure that the git.sr.ht web application runs as this user.
## SSH dispatch
It is necessary to configure git.sr.ht's SSH dispatcher as the system-wide SSH
-authorization hook. In `/etc/ssh/sshd_config`, configure gitsrht-dispatch like
-so:
+authorization hook. First you need to install `go`, then build the dispatcher
+with `go install` in the `gitsrht-dispatch` repository.
+
+
+In `/etc/ssh/sshd_config`, configure gitsrht-dispatch like so:
```
AuthorizedKeysCommand=/usr/bin/gitsrht-dispatch "%u" "%h" "%t" "%k"