> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/~/revisions/NfgM5VQuRjXRMfbR25yK/compute-services/compute-engine/how-tos/connect-via-ssh/manage-ssh-keys.md).

# Manage SSH keys

The DCD's **SSH Keys** view allows you to save and manage up to 100 public SSH keys for SSH access setup. This saves you from having to copy and paste the public part of an SSH key from an external source multiple times.

In addition to the SSH keys stored in the **SSH Keys** view, the IONOS SSH key concept supports [<mark style="color:blue;">Ad-hoc SSH keys</mark>](/cloud/~/revisions/NfgM5VQuRjXRMfbR25yK/compute-services/compute-engine/how-tos/connect-via-ssh.md#supported-ssh-key-types) for Dedicated Core servers, vCPU Servers, and Cubes.

## Store SSH Keys in the DCD

To save your SSH key in the DCD, follow these steps:

1. Log in to the DCD with your credentials.
2. Go to **Menu** > **Management** > **SSH Keys**.

![Access SSH keys from the Data Center Designer](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-a2aab380718de28b73015168f489ac2ce11a3a86%2Faccess_ssh.png?alt=media)

3. Select **+ Add Key** in the top left corner.

![Add an SSH key to the DCD](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-45c1fb56a0f6e87ebdba8a35e65bcd7d8b44a6c8%2Fadd_ssh.png?alt=media)

4. Enter a **Name** and click **Add**.
5. Paste the SSH key from the clipboard into the **SSH key** field. If you have saved your SSH key in a file, you can upload it by selecting the **Choose file** button in the **Select Key file** field.

![Copy and paste key info in the SSH key field](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-8097e9338f88ae161023164ee288aa302aae5f8d%2Fselect_keyfile.png?alt=media)

{% hint style="info" %}
**Note:** Make sure the SSH keys you enter are valid. The DCD does not validate the syntax or format of the keys.
{% endhint %}

6. *(**Optional**:)* Select the **Default** checkbox to have the SSH key pre-selected when configuring SSH access. Clear the checkbox if you do not want the key to be set as default.
7. Click **Save** to save the key.

{% hint style="success" %}
**Result:** The SSH key is visible and saved in the **SSH Keys** view. It can be used for the configuration of SSH accesses.
{% endhint %}

![List of both default and non-default SSH keys](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-ba60bafad7793a776639ced4c78654ceb108459d%2Fssh-keys-list.png?alt=media)

## Delete an SSH key

To delete an existing SSH key, follow these steps:

1. Log in to the DCD with your credentials.
2. Go to **Menu** > **Management** > **SSH Keys**.
3. Select the respective SSH key from the list.
4. Click **Delete Key**.
5. Click **OK** in the **Delete SSH key** confirmation dialog box.

![Delete an existing SSH key](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-6b4be7a10f4f8d11f3c1c50cc3e0e6d53e7c5fe4%2Fcubes-delete-ssh-keys.png?alt=media)

{% hint style="success" %}
**Result:** The selected SSH key is deleted.
{% endhint %}


---

# 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.ionos.com/cloud/~/revisions/NfgM5VQuRjXRMfbR25yK/compute-services/compute-engine/how-tos/connect-via-ssh/manage-ssh-keys.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.
