SSH Setup
GitBlixt supports git operations over SSH. SSH host keys are auto-generated on first boot and
stored in /data/ssh.
Configuring Your SSH Port
By default GitBlixt listens for SSH on port 22. If your server's own SSH daemon is already on port 22, you have two options:
Option A — Move the server's SSH daemon to a different port (e.g. 2222) and let GitBlixt keep port 22. This gives users the cleanest clone URLs.
Option B — Run GitBlixt SSH on a different port:
-e GITBLIXT_SSH_PORT=2222 -p 2222:2222
Users will clone with:
git clone ssh://[email protected]:2222/user/repo.git
Adding Your SSH Key (Users)
See SSH Keys for instructions on adding your public key to your GitBlixt account.
Verifying SSH Works
ssh -T [email protected]
# Expected: Welcome to GitBlixt, username!