SSH Keys
Create SSH key
Add an SSH public key to your account. Pass the key on VM create via the ssh_keys array to enable key-based login.
Supported key types: RSA, ECDSA, Ed25519. The key_type field on the response is parsed automatically from the public key.
post/api/v1/ssh-keys
Request body
Example request
{
"name": "laptop",
"public_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI... user@host"
}Response
SSH key created
Example response
{
"data": {
"name": "laptop"
}
}