SSH keys
Add your public keys and push over SSH.
ssh-keygen -t ed25519 -C "you@example.com"
npx @sypnia/git keys add ~/.ssh/id_ed25519.pub
git clone git@ssh.git.sypnia.com:laespiga/web.git- Key types: Ed25519 (recommended), ECDSA, RSA of 3072 bits or more, and hardware security keys (
sk-ssh-ed25519). - One key, one person. The same public key cannot be added to two accounts.
- The server’s fingerprints are published as SSHFP records in DNS, signed with DNSSEC, so you can check the host the first time you connect (below).
- The same key can sign your commits (Security).
Check the server the first time
The first time you connect, SSH shows the server’s fingerprint and asks whether to trust it. The true fingerprints of ssh.git.sypnia.com are its SSHFP records in DNS, in the sypnia.com zone that Sypnia Domains signs with DNSSEC. Let SSH compare them for you:
ssh -o VerifyHostKeyDNS=yes -T git@ssh.git.sypnia.comYou should see
Matching host key fingerprint found in DNS. and a greeting with your username. SSH saves the key, and the question never comes back.To read the records yourself, dig SSHFP ssh.git.sypnia.com +dnssec lists one record per key type, with the ad flag that says the answer is signed. To always check, add VerifyHostKeyDNS yes under Host ssh.git.sypnia.com in ~/.ssh/config. A self-hosted engine publishes its own: npx @sypnia/git keys host-records prints the SSHFP records to add to your zone.