SSH keys
Create and store SSH keys to connect to remote servers and clone private Git repositories.
SSH keys live in one place, Integrations › SSH keys, and are reused across the panel. Use them for:
- Remote servers: wtree Cloud connects to your servers over SSH. See Servers.
- Private repositories: for applications or Docker Compose services that use the Git provider.
Create a key
Click Add SSH key and choose a type:
| Type | Generates |
|---|---|
| RSA | 2048-bit RSA key. |
| Ed25519 | 256-bit Ed25519 key. |
You can instead paste your own, editing the Private key and Public key fields freely. Use the correct format for the key type.
After creation only the name and description can be edited. Only owners and admins can view or download the private key. Members need the Access to SSH keys permission to see the section.
Encryption at rest
Private keys are encrypted in the database with ENCRYPTION_KEY, or BETTER_AUTH_SECRET when it isn't set.
If that secret changes or is lost, for example when restoring onto a new server without it, encrypted keys stop working and you must create them again.
Keys created before encryption was added stay in plaintext and keep working. Recreate them to encrypt them.
