Root access via SSH
Connect via SSH, set up SSH keys and secure your server.
schedule6 min reading timeupdateLast updated: 8/20/2026
Connecting via SSH
SSH (Secure Shell) is the standard way to manage a Linux server. You need the IP address and the root password from the provisioning email.
bash
ssh root@YOUR-IP-ADDRESS
Set up an SSH key (recommended)
SSH keys are more secure and more convenient than passwords. First create a key pair on your local machine:
bash
ssh-keygen -t ed25519 -C "my-server" # Save it as ~/.ssh/id_ed25519
Copy the public key to the server:
bash
ssh-copy-id root@YOUR-IP-ADDRESS # Or manually: cat ~/.ssh/id_ed25519.pub | ssh root@IP 'cat >> ~/.ssh/authorized_keys'
Harden SSH (recommended)
Edit /etc/ssh/sshd_config and set the following values:
bash
PermitRootLogin prohibit-password # Key-only login for root PasswordAuthentication no # Disable password login Port 22 # Optional: choose a different port
warning
Make sure your SSH key works BEFORE you disable password login — otherwise you will lock yourself out.
Storing SSH keys in the dashboard
In the KVM panel under “SSH-Keys” you can store public keys that are automatically added to the new server when you reinstall it.
Was this article helpful? Need clarification?
support_agentOpen ticket