Store SSH Keys in the Cloud Portal
Add your public SSH key to your cloud portal account so reinstalled servers boot with it preinstalled, and manage or revoke keys per device.
Set Up SSH Key Authentication covers installing a key on a server that already exists. The cloud portal adds the other half: keys stored on your account can be selected when a server is created or reinstalled, so a fresh image comes up with your public key already in place and you never type a root password at all.
Add a key to your account#
- Copy your public key. On your computer, print it and copy the whole line:
No key yet? Generate one first (Ed25519 recommended):cat ~/.ssh/id_ed25519.pubssh-keygen -t ed25519 -C "alex@laptop" - Open Account, then SSH keys. In cloud.nobullnetworks.com, click your profile in the top-right corner, choose Account, and open the SSH keys tab.
- Add the key. Give it a name that identifies the device ("work laptop"), paste the public key, and save. Only the public half ever leaves your computer.
Repeat for each device you work from. One key per device means losing a laptop is a single delete, not a rotation across every server.
Use the key at reinstall time#
When you reinstall a server, the portal offers your stored keys alongside the image choice. Select the ones that should be installed and the new system boots with them in /root/.ssh/authorized_keys. Log in with ssh [email protected], create your own user, and carry on with First Steps on a New Linux Server.
Keys are applied when an image is laid down. Adding a key to your account later does not push it onto servers that already exist; for those, add it to authorized_keys by hand or with ssh-copy-id as described in Set Up SSH Key Authentication.
Remove or replace a key#
Delete the key on the SSH keys tab so it is no longer offered for new installs. Then remove the matching line from ~/.ssh/authorized_keys on any server that already has it; the portal cannot reach into running servers to do that for you.
Rescue mode uses them too#
When you boot the rescue environment, you can log in over SSH with your root password or the SSH key pair on the server, which is one more reason to have a key on every machine.
Game panel SFTP#
The game panel keeps its own SSH key list for SFTP logins, separate from the cloud portal. See Game Panel Account: 2FA, API and SSH Keys.
