SSH keys are used to securely access your Bare Metal servers and Containers. You can import your existing SSH public key or let the system auto-generate a key pair for you.
Access SSH Keys Management
- Click your avatar in the top right corner
- Select “Member List” from the dropdown menu to access Settings
- Click “SSH Keys” in the left sidebar under the “Organization” section
Add a New SSH Key
- Click the “Add new key” button in the top right corner
- Enter a Name for your SSH key
- Choose a Creation Mode:
Option 1: Import an Existing Key
Select “Import” to use your existing SSH public key:
- Paste your SSH public key in the SSH Key field
- Click “Create” to save
To get your SSH public key, run cat ~/.ssh/id_rsa.pub or cat ~/.ssh/id_ed25519.pub in your terminal.
Option 2: Auto-create a Key Pair
Select “Auto-create” to let the system generate a key pair for you:
- The system will automatically generate both public and private keys
- Click “Create” to proceed
- Download both keys in the next step - the private key will only be shown once
Make sure to download and securely store your private key. It will not be shown again after you close the dialog.
Delete an SSH Key
- Locate the SSH key you want to delete in the list
- Click the “Delete” button in the Actions column
Deleting an SSH key will prevent access to any resources that use this key. Make sure you have alternative access methods before deleting.
Using SSH Keys
Once you have added an SSH key, you can select it when:
- Creating a Bare Metal server: In Step 5 (Basic Information), select your SSH key from the dropdown
- Creating a Container: SSH access is available for official templates with port 22 exposed
After your resource is running, connect using:
ssh root@<public-ip> -i /path/to/your/private-key