Managing SSH Keys
SSH keys are the default way to log into instances.
You upload the public key to Verda.
You keep the private key on your computer.
If you haven’t connected yet, see Connecting to Your Server.
Create an SSH key
Run the following in your terminal:
ssh-keygen -t ed25519By default, the key will be stored in $HOME/.ssh/id_ed25519. You can change the location if needed.
You will be prompted for a passphrase next.
In general, it is a good idea to set a passphrase for your private key.
If you used the default key name, your public key is now in $HOME/.ssh/id_ed25519.pub.
To view your public key:
cat ~/.ssh/id_ed25519.pubYou can now add your public key to your project to be available when creating new instances.
Go to Keys -> SSH Keys -> Create and paste your key into the window that looks like this:

Next, deploy your server and your key will automatically be allowed on your instance.
There are two ways to do this on Windows:
Using
ssh-keygenUsing PuTTYgen (part of the PuTTY utilities)
ssh-keygen method
Open a PowerShell window.
Execute the following command as the user you plan to use for connection:
Your public key is stored by default in
C:\Users\<username>\.ssh\id_ed25519.pub. View it using:
PuTTYgen method
Download the .msi package that matches your system architecture from PuTTY: latest release.
When installing PuTTY, choose to install PuTTYgen. Open it and follow the guide below:

Choose Ed25519 as the type of key, and click "Generate".
Move your cursor over the grey area, and your key will appear.

Don't forget to add a passphrase to your keys!
Copy the output in the Public key field and save your private key somewhere safe.
You can use PuTTYgen to re-generate your public key from your private key, but not vice versa.
When creating your server, paste the output in the Key input field:

Next, deploy your server and your key will automatically be allowed on your instance.
Add or remove a key on an existing instance
Last updated
Was this helpful?