# SSH Keys management

To launch an instance on Sesterce Cloud, you need to link a SSH Key to it. You can paste your public key directly from the launching path, or [**via the Settings page**](https://cloud.sesterce.com/settings).

{% hint style="danger" %}
Currently, it is **not possible** to add a SSH Key to an instance already live. Make sure to add all keys you need before launching your compute instance. [You can add several keys to a single instance](#how-to-add-multiple-ssh-key-in-a-compute-instance).
{% endhint %}

<figure><img src="https://3376774032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoExYATuECEyEKGJ4cD8X%2Fuploads%2FOalajjHsxYIg7boEf9Fa%2FScreenshot%202025-03-03%20at%2017.30.55.png?alt=media&#x26;token=74d3f225-2aee-4297-aed0-06bb38168fd1" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To generate your public SSH key from your laptop, open your terminal and type the following command: \
`ssh-keygen -t ed25519 -C "youremail@example.com"` . Then, type enter to select by-default saving place and use the following command to expose your public key: `cat ~/.ssh/id_ed25519.pub`
{% endhint %}

### How to mark a SSH Key as default?

To mark a SSH Key as default, click on the 3 dots icon an select "Make Default". This will automatically select the SSH Key when you'll create a new Compute instance.

<figure><img src="https://3376774032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoExYATuECEyEKGJ4cD8X%2Fuploads%2FduaxBrsCqFD9W6juWOSL%2FScreenshot%202025-05-14%20at%2009.21.53.png?alt=media&#x26;token=66e8d056-fe69-4d02-88fe-e5940fa2c0ec" alt=""><figcaption></figcaption></figure>

### How to add multiple SSH Key in a Compute instance?

You can merge several SSH Keys by pasting the keys one after the other in the text field as below (make sure to brake line between the keys):

<figure><img src="https://3376774032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoExYATuECEyEKGJ4cD8X%2Fuploads%2FzGhV3jXi8t8YcrE0e8z2%2FScreenshot%202025-05-22%20at%2014.23.22.png?alt=media&#x26;token=33a77ccb-f438-4494-ac97-32e2c84ad34c" alt=""><figcaption></figcaption></figure>

Then, select the SSH Key created to launch your instance. Both users will be able to connect to the Compute instance.

<figure><img src="https://3376774032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoExYATuECEyEKGJ4cD8X%2Fuploads%2FiNrYSPy89KrGSJezi3ym%2FScreenshot%202025-05-22%20at%2014.25.43.png?alt=media&#x26;token=995d48b1-813f-48af-8b3e-2e9076f0eb1f" alt=""><figcaption></figcaption></figure>
