Creating an SSH Key
You’ll need to have an SSH key in order to create a virtual machine. If you already have one, you can ignore this.
For Windows Users - please follow this guide.
For MacOS and Linux users:
- Open Terminal.
- Paste the text below.
$ ssh-keygen -t ed25519
This creates a new SSH key.
Generating public/private ALGORITHM key pair.
When you're prompted to "Enter a file in which to save the key", you can press Enter to accept the default file location. Please note that if you created SSH keys previously, ssh-keygen may ask you to rewrite another key, in which case we recommend creating a custom-named SSH key. To do so, type the default file location and replace id_ssh_keyname with your custom key name.
Your public key will end up in .ssh/id_ed25519.pub
.
You will need the contents of this file when you make a VM.
If you want to use the ssh-agent or want further details please visit this site.