SSH keys

SSH keys

When creating storages based on IONOS Linux images, you can inject SSH keys into your VM for setting up an SSH access so that you can use SSH for secure communication. SSH keys that you intend to use more often can be saved in the SSH Key Manager of the DCD.

Types of SSH keys

In addition to the SSH-Keys stored in the SSH Key Manager, the IONOS SSH key concept also includes the following:​OpenAd-hoc SSH Keys​

Ad-hoc SSH keys are SSH keys that you only use once and don't intend to save in the SSH Key Manager for later re-use.​OpenDefault​

Default keys are SSH keys that you intend to use often and mark them as such in the SSH Key Manager. Default SSH keys are preselected when you configure storage devices. You can, however, specify which SSH keys are actually to be used before provisioning and deselect the preselected standard keys in favor of another SSH key.

SSH key manager

In the SSH Key Manager of the DCD you can save and manage up to 100 public SSH keys for the setup of SSH accesses. This saves you having to repeatedly copy and paste the public part of an SSH key from an external source.

To open it, go to: Menu Bar > Resource Manager > SSH Key Manager

There you can do the following:

Managing SSH keys

SSH keys that you intend to use more often for the configuration of SSH accesses can be stored in the SSH Key Manager. This saves you having to repeatedly copy and paste the public part of a key from an external source. You can store and manage up to 100 SSH keys.

Prerequisites

  • You are logged on to the DCD. (?)​

How to manage SSH keys

  • Open the SSH Key Manager.

    Menu Bar > Resource Manager > SSH Key Manage

Storing an SSH key for re-use

  • Select + Create Key.

  • In the field that appears, enter a name.

  • Confirm your entry by clicking Add.

  • To save the public part of your SSH key:

    • Copy and paste it to the SSH Key field.

      • or -

    • Upload it using Select file.

      Please ensure the SSH keys you enter are valid. The DCD does not validate syntax or format.

  • (Optional) Activate the Default checkbox to have the SSH key automatically pre-selected when an SSH access is configured.

  • Click on Save to store the key.

    The SSH key is stored in the SSH Key Manager and can be used for the configuration of SSH accesses.

Deleting a SSH-key in the SSH-key-manager

  • Select the required SSH key.

  • Select Delete key.

    The SSH key is removed from the SSH Key Manager.