Where to find it
Open the server, then Security → SSH keys · root. The list is read from the server itself, so a key someone added on the server by hand shows too, as Added on the server. Keys you saved in your account show by their name. From SSH Keys in the left menu you can put one saved key on several servers at once, or take it off them.Add a key to a server
- On the server’s Security tab, click Add key.
- Pick a Saved key, or paste a New key (the whole line of your
.pubfile). For a new key, tick Also save it to my SSH keys to use it on other servers later. - Click Add key, check the key and the server, and Confirm and add.
ssh root@<server-ip> with its private key signs in. The key also goes into the server’s settings, so a factory reset keeps it.
Remove a key from a server
- On the server’s Security tab, click Remove next to the key.
- Confirm. root can no longer sign in with that key. It stays in your saved keys, and other servers keep it.
A key on many servers
On the SSH Keys page, each saved key shows the servers where Raff last saw it. Raff does not scan your servers in the background: it records a server’s keys when you create or reinstall it, when you change them through Raff, and whenever it reads them. Check now reads every running Linux server in the project. From a key’s menu:- Put on servers… reads your Linux servers, then adds the key to the ones you pick.
- Remove from servers… shows the servers that have the key and removes it from the ones you pick. A server where it is the only key is left out: remove it there from the server’s Security tab.
- Delete takes the key out of your saved keys. Servers that have it keep accepting it, so the dialog offers to remove it from them first.
Who can do it, and how you know
- Seeing a server’s keys needs permission to view the server. Adding and removing keys needs the Manage SSH keys on servers permission (
vm.ssh_keys), which the Project Admin and Operator roles have. Add it to a custom role in Team & Access → Roles. - Each add and remove in the dashboard asks for your two-factor code. One code counts for 10 minutes, so putting a key on several servers asks once. Without two-factor authentication on your account, the dashboard asks you to set it up first.
- Every change emails the account owner (which key, which server, who changed it) and is written to your account’s audit log.
Requirements
- A running Linux server. SSH keys are not managed on Windows servers. A stopped server shows its keys again once it runs.
- The QEMU guest agent running in the server. Raff’s images run it. If you removed it, the Security tab shows the command to turn it on again:
sudo dnf install -y qemu-guest-agent instead.
- On AlmaLinux, Rocky Linux and Fedora, SELinux must let the guest agent manage SSH keys. Servers created from October 21, 2026 have it. On an older one, the Security tab shows this command; run it once:
From the API, CLI and Terraform
API
CLI
ssh_keys on a raff_vm: the keys are added and removed on the running server without recreating it. API keys do not need a two-factor code; creating an API key does.
Troubleshooting
Next steps
Connect via SSH
Create a key and sign in with it.
Reset password
Sign in without a key.