Access your server
Find your root password, connect over SSH with a password or a key, and take the first steps to secure a new Linux server.
Your login details
- Username:
root - Address: the server's IPv4 address, shown on the service page
- Port: 22
- Password: if you chose password access, open the server and go to Access & password > Reveal Root Password. The password is shown only in the portal; it's never emailed.
- SSH key: if you chose key access, sign in with the matching private key.
Connect from your computer
ssh [email protected] -p 22Replace 203.0.113.24 with your server's address. The first time you connect, confirm the server's key fingerprint.
Connect from the browser
Open the Console in the portal and type ssh <server name>, or click + and choose the server. See Web SSH.
Reset a lost root password
On the Access & password tab, click Reset Password. The server reboots and the new password is shown on screen. This option appears for servers created with password access.
Secure your server
There is no firewall in the portal for cloud servers, so set one up on the server. On Ubuntu or Debian:
apt update && apt install -y ufw
ufw allow 22/tcp
ufw allow 80/tcp
ufw allow 443/tcp
ufw enableWarning
Always allow port 22 before you enable a firewall. If you lock yourself out of SSH, you can't use web SSH either. Open a support ticket to get help.
Also recommended: install updates (apt update && apt upgrade), create a user for daily work, use SSH keys instead of passwords, and keep your own backups of important data.
Related articles