Rotate SSH Keys
Elestio uses SSH keys to manage your service. You can replace them with new ones at any time from the dashboard, for example if you think a key may have been exposed, or if your security policy requires rotating keys regularly.
There are two keys you can rotate:
| Key | What it is used for |
|---|---|
| Service access key | The SSH key pair Elestio uses to access the server (VM) of your service. |
| Backup key | The SSH key pair used by the automated remote backups (Borg) of your service. |
Rotate the keys
-
From the dashboard, open your service and go to the Security tab.
-
In SSH keys, click Rotate SSH key(s).

-
Under Key to rotate, choose:
- Service access key to rotate only the key used to access the service,
- Backup key to rotate only the key used by the remote backups,
- Both to rotate the two keys at once.
-
Click Rotate.

Elestio generates a new SSH key pair and replaces the current key(s). The old key is removed from the server once the new key is verified.
warning
The rotation can take up to a minute. Do not start a backup, a restore or a deployment while it runs.
Notes
- To add or remove your own SSH keys on the server, see SSH Keys.
- To change the passphrase that encrypts your remote backups, see Rotate the backup passphrase.