.gitignore | ||
applet.go | ||
data.example.json | ||
git-passeport.sh | ||
LICENSE | ||
README.md |
❗ This repository is now maintained on Sourcehut here. |
---|
Usage
- Add
git-passeport.sh
to your server and make it executable (chmod +x git-passeport.sh
) - Build
app.go
(go build applet.go
) - Create a
git
user (adduser git
) - Add SSH keys to the user (
.ssh/authorized_keys
) prefixed bycommand="git-passeport.sh"
- Note: you should specify the exact directory of the Shell file. Wildcards (
folder/*
) aren't supported as of now.
- Ensure your bare repositories (
git init --bare example.git
) are owned by thegit
user