SSH Keys
If deploying UNIX VMs, the default behavior is to disable password authentication and only allow SSH key authentication. Before creation of such a VM, a public SSH key will need to be generated and pasted under the Authentication sub-section of the HyperCloud Settings.
Generate a public SSH key from the command line
From the local machine's terminal, use the following command to create a private (id_rsa
) and public (id_rsa.pub
) key pairing:
Where -t rsa
declares the RSA encryption algorithm and -b 4096
declares the encryption bit sizing.
You will be prompted to choose where to save the files and if you would like to include a passphrase. Just press enter to bypass these inputs.
Retrieve the public key and enter into your HyperCloud user settings
Once the command has run and returned to input, navigate to the file, .ssh/id_rsa.pub
and open it in your text editor of choice.
Navigate to your user settings page in HyperCloud, and click on the Auth tab.
Copy the public key to paste into the associated attribute field:
This is important to configure before beginning to instantiate VMs, etc. because these key pairs are what allow a user to log into a VM. The ssh key is injected into the template when HyperCloud runs through its steps setting up the machine.