Create a keypair (Advanced Console)

From DataTenant Knowledgebase
Revision as of 16:54, 14 May 2024 by Dtadmin (talk | contribs)
Jump to navigation Jump to search

This article will help you create a keypair.

Keypairs are used for authentication to cloud VMs. A keypair consists of two parts, a public key and a private key, and are specific to a single user. The following steps will explain how to create a single keypair that can be used for authentication against new Windows and Linux cloud VMs. If you follow this process you will end up with three files: a public key, a private key for Linux VMs, and a private key for Windows VMs.

Generate a keypair

Begin by downloading PuTTY and installing it onto a Windows or Mac. This will automatically install PuTTYgen, which is a tool for creating keypairs. Open PuTTYgen, and click the 'Generate' option.


PuTTYgen will prompt you to move your mouse around the screen to provide randomness to the software, allowing for the creation of a truly unique key. When you're done, your public key will be displayed in the 'Key' window. Copy and paste it somewhere safe, like in a text file on your local PC or in your preferred password management solution.



Enter a password of your choosing in the 'Key Passphrase' window and again in the 'Confirm passphrase' window. Select 'EdDSA' encryption in the 'Parameters' window, and click 'Save private key'. This will prompt you to save a .ppk file somewhere to your computer, and that file will contain your encrypted private key. This copy of your private key will be used to perform secure logins to cloud Linux VMs.



In the 'Conversions' menu, select 'Export OpenSSH Key'. Save the file somewhere to your local computer. This is a copy of your private key that will be used to encrypt Administrator passwords on cloud Windows VMs.


Import and use your keypair