This will create a new key pair in the cloud dashboard. If you want to create a key pair using your terminal, follow the steps here.
Creating a key pair will generate both a public key and private key file. The key pair will be generated in the RSA type, in the .pem format.
The public key will be stored within your cloud project and available on the Key Pairs page.
The private key file will automatically be downloaded to your workstation.
Steps
-
1
Using the menu on the left, navigate to Compute > Key Pairs.
-
2
Select the + Create Key Pair button.
-
3
The Create Key Pair dialog will appear.
-
4
In the Key Pair Name field provide a recognisable name for the key pair. Names may only include alphanumeric characters, spaces or dashes.
-
5
In the Key Type field select SSH Key.
-
6
Select the Create Key Pair button.
- The private key pair file will be generated in .pem format.
- The private key pair file will automatically download.
-
7
The new public key will be available in the Key Pairs table.
Once you’ve generated a new key pair, you should immediately save the private key file and ensure that the file is securely stored and adequately protected.
If you lose access to your private key you will not be able to connect to your instance.