Add a new SSH Key
This page explains how to add new SSH Keys to a customer account, which can then be assigned to bare metal servers. Detailed instructions for assigning SSH Keys to servers can be found here.
RSA and Ed25519 SSH keys are supported.
Method
Add SSH Keys
-
Navigate to Services > SSH Keys in the sidebar, which will take you to the SSH Keys page.
-
On the SSH Keys page, click Add New SSH Key. A pop-up window will appear.
-
Enter a descriptive ‘Label’ for your SSH key (e.g., “Work Laptop Key”) and paste your public SSH key into the ‘SSH Key’ field.
-
Click Submit.
-
A green success message will appear at the top of the page upon successful submission.
Add SSH Keys
curl --request POST \--url https://api.ingenuitycloudservices.com/rest-api/ssh-keys \--header 'Accept: application/json' \--header 'Content-Type: application/application/json' \--header 'X-Api-Token: API_KEY' \--data '{"public_key":"ssh-rsa AAAAB3Nza... example-key","label":"My SSH Key"}'
Add SSH Keys
# Add an SSH key from a fileics-cli sshkeys add --name MyKey --file ~/.ssh/id_rsa.pub
# Add an SSH key directly with a multi-word nameics-cli sshkeys add --name "My Production Key" --key "ssh-rsa AAAAB3..."