e6f6aab1d38f72580e4f46823a77a8890d391323 — Éloi Rivard 2 years ago b6222a3
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)
1 files changed, 5 insertions(+), 2 deletions(-)

M git.sr.ht/installation.md
M git.sr.ht/installation.md => git.sr.ht/installation.md +5 -2
@@ 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
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"