Git over HTTPS & SSH
Access tokens, SSH keys, deploy keys and GPG-signed commits.
HTTPS#
The clone URL looks like https://<host>/<owner>/<repository>.git. Codeny accepts your username plus password or an access token.
Access tokens#
Under Settings → Access tokens create personal tokens (starting with anv_pat_).
| Permission | Allows |
|---|---|
| Read only | Clone, pull, all reading API calls |
| Read & write | additionally push and all modifying API calls |
A token can have an expiry date and can be revoked at any time. The list shows when it was last used. Only a hash is stored; you see the value once when creating it.
One token per device or purpose (“Laptop”, “CI server”, “Claude Code”) makes revoking easy.
SSH#
- Create a key if you don't have one:
ssh-keygen -t ed25519 -C "you@example.com". - Paste the content of
~/.ssh/id_ed25519.pubunder Settings → SSH & GPG keys. - Clone:
git clone ssh://git@<host>:2222/<owner>/<repository>.gitThe login name is always git. There is no shell access; only clone, fetch and push are allowed. Accepted are ed25519, ECDSA, security keys (sk-…) and RSA keys from 2048 bits, no DSA keys and no keys with options such as command=.
The SSH port is up to the operator (default 2222). On codeny.org SSH is currently not reachable from outside – use HTTPS with a token there.
Deploy keys#
A deploy key is an SSH key that works for one repository only, for example a server that checks out a project. Add it under Repository → Settings → CI/CD & keys → Deploy keys. By default it is read-only. With write access, pushes run with the identity of the admin who added the key, through branch protection and hooks.
GPG-signed commits#
Add your public OpenPGP key under Settings → SSH & GPG keys. The key must contain a user ID with your account's email address. Signed commits whose author address matches the key get the Verified badge.
git config --global user.signingkey <KEY-ID>
git config --global commit.gpgsign trueGit LFS#
Store large files with Git LFS. Codeny speaks the LFS basic transfer under the same URL with the same credentials. Details in Git LFS.
Was this page helpful?