Generate a key
On your local machine, run:Find your public key
Add the key to your organization
SSH keys are stored at the organization level, so add the key once and reuse it across servers.- In the dashboard, go to
https://metal.rackdog.com/<organization_id>/sshkeys. - Click to add a new key, give it a name, and paste in your public key.
- Save.
Select the key when provisioning
During server provisioning, pick the key you just added from the SSH key selector. Rackdog will install it on the server automatically so you can log in as soon as provisioning finishes.Connect to the server
Once the server is ready, grab its IP from the dashboard and connect. The username depends on the OS you provisioned:| OS | Username |
|---|---|
| Ubuntu | ubuntu |
| Debian | debian |
| CentOS | centos |
| Fedora | fedora |
| Rocky Linux | rocky |
| AlmaLinux | almalinux |
| Windows | Administrator |
| Anything else | root |
Good habits
- Keep the private key on your own machine and don’t share it.
- Use a passphrase when you generate the key.
- Rotate keys periodically, especially if a machine holding one is lost or decommissioned.
- Disable password-based SSH on the server once key access is working (set
PasswordAuthentication noin/etc/ssh/sshd_configand reloadsshd).
