Skip to main content

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:

KeyWhat it is used for
Service access keyThe SSH key pair Elestio uses to access the server (VM) of your service.
Backup keyThe SSH key pair used by the automated remote backups (Borg) of your service.

Rotate the keys​

  1. From the dashboard, open your service and go to the Security tab.

  2. In SSH keys, click Rotate SSH key(s).

    SSH keys option in the Security tab

  3. 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.
  4. Click Rotate.

    Rotate SSH key(s) window

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​