From e6f6aab1d38f72580e4f46823a77a8890d391323 Mon Sep 17 00:00:00 2001 From: Éloi Rivard Date: Mon, 27 May 2019 09:20:43 +0200 Subject: 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? --- git.sr.ht/installation.md | 7 +++++-- 1 file 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" -- cgit