How to create a Key pair overview

Instead of using passwords, DreamCompute utilizes SSH keys for accessing your instances. This is done for increased security and simplifies managing users for OpenStack since the public key is injected into the instance at boot. This setup prevents the need to modify files or passwords on the operating system on startup.

There are several ways to create a Key pair. You only need to choose one option below.

Each instance can only be assigned a single Key Pair. When you originally launch an instance you can select the Key Pair you would like to use with the new instance.

It's not possible within the DreamCompute panel to change the Key Pair assigned to an instance after the instance has been created. Make sure to assign the correct Key Pair when originally creating the instance.

SSH key Components

There are two parts to an SSH key:

  • a private key
  • a public key

The private key is known only to you and should be safeguarded. On UNIX-based systems such as Mac and Linux, the private key is generally stored in:

/home/myuser/.ssh/id_rsa

The public key can be shared with any server you would like to allow ssh access to. On the server, the public key is stored in:

/home/myuser/.ssh/id_rsa.pub

SSH keys generated on Windows systems using the PuTTY key generator (puttygen.exe) are not stored in a uniform location, but instead wherever the user chooses to save them.

Did this article answer your questions?

Article last updated .