OVH Guides

Using an SSH key in the Public Cloud interface

Step-by-step documentation on how to use an SSH key to simplify access to Cloud servers

Last updated 4th December 2019

Objective

SSH is a protocol making it possible to access and communicate with a server in an authenticated and encrypted manner.

Find out how to use SSH keys with the OVHcloud Control Panel.

Requirements

Instructions

If you would like to store an SSH key in the OVHcloud Control Panel, we recommend to use RSA or ECDSA encryption. ED25519 is currently not supported.

There are two ways to add an SSH key from the Public Cloud interface:

  • The first and more direct method is done at the time of the creation of an instance.
  • The second method is to add a key from the SSH key manager.

Creation of an instance

From the Public Cloud client interface, to create a cloud instance, click on Create an instance in the Instances menu under the Compute section on the left-hand menu.

Add a server

Then, during the creation of the instance, and on step 3, you will be asked for your SSH key.

Add a server

If you already have keys, simply select the key of your choice.

If you want to add a key, click on Add a key. Create a name for your key in the "SSH Key name" box and paste the key into the box labeled "SSH key". Click Add a key to finish.

Add a key

From the key management tool

Once the "SSH keys" has been selected from the left menu of your project, the "SSH keys" tab will be available.

Add a key

Click on Add a key then click on Add this key after you have named the key and pasted the key in the box.

Add a key

This key will be available to use at the next creation of a Public Cloud instance.

Go further

Join our community of users on https://community.ovh.com/en/.


These guides might also interest you...