SSH keys
Add SSH key
Upload a new public key. Injected into every pod launched after this point.
POST
Human label, max 64 chars. Doesn’t have to be unique.
Full public-key string from
~/.ssh/id_ed25519.pub or equivalent — the
whole line starting ssh-ed25519, ssh-rsa, ecdsa-sha2-nistp..., etc.Validation
Server-side:- Parses the public-key string with a real SSH key parser
- Rejects RSA < 2048
- Rejects DSA entirely
- Accepts Ed25519, RSA ≥ 2048, ECDSA P-256 / P-384 / P-521
- Computes SHA256 fingerprint
- Checks for duplicate-by-fingerprint against the user’s existing keys
What happens after
Every subsequentPOST /v1/rentals will include this key in the pod’s
authorized_keys. Already-running pods do NOT get the key retroactively —
they snapshot the user’s key list at launch time.