How to create or import a SSH key pair

To access the virtual machines in the Cloud infrastructure only public/private key authentication is allowed. Please DO NOT ENABLE PASSWORD AUTHENTICATION. In this document you will find a guide to:
Generate a key pair from your pc
Generate a key pair in OpenStack
Import your key pair in OpenStack

How to generate a key pair from your pc

How to generate a key pair in OpenStack

Log in to the Openstack web dashboard . In the left panel, click Project, then Access & Security, then the Key Pairs tab, and finally the Create Key Pair button in the upper right part of the page.

In the new window, type a name for the key pair and then click the button Create Key Pair to create it.
The key pair is then created and the private key is downloaded to your pc. Save it, you will use it to access your Virtual Machine. Remind not to share the private key with anyone.

How to import a key pair in OpenStack

Log in to the Openstack web dashboard . In the left panel, click Project, then Access & Security, then the Key Pairs tab (3) (see figure above), and then the Import Key Pair button in the upper right part of the page. In the new window, type a name for the key pair and paste your public key in the box, then click Import Key Pair.