> For the complete documentation index, see [llms.txt](https://docs.sesterce.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sesterce.com/compute-instances/configure-your-compute-instance/ssh-keys-management.md).

# 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="/files/QOrX1J1VUyyODRO6cVXV" 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="/files/BVkdFgja7GoUCQraU21b" 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="/files/FT3vuUAEd7Vedr0aOzrh" 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="/files/FlhNax1uiyktnVuFPmqs" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sesterce.com/compute-instances/configure-your-compute-instance/ssh-keys-management.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
