Linux and BSD servers on CloudSat accept SSH logins as root as soon as their badge reads Running. You need the server's IP address and either the generated password or an SSH key you picked at deploy. Working from Windows? See Connect over SSH from Windows.
Get the connection details
- Open Servers and click the server.
- On the Overview tab, the Connect card shows the command, for example
ssh root@203.0.113.24. Click Copy. - No SSH key on the server? Open the Access tab, type your CloudSat password in Your account password and click Reveal server password. Copy the password that appears.
Connect
- Open a terminal and paste the command:
ssh root@203.0.113.24
- On the first connection, SSH shows the server's host key fingerprint and asks whether to continue. Type
yes. - Paste the password when asked. Nothing appears while you type, which is normal. With a key, you go straight in.
To use a specific key, or to connect over IPv6 (the address is under Public IPv6 on the Overview tab):
ssh -i ~/.ssh/id_ed25519 root@203.0.113.24
ssh root@2001:db8::24
The user is root on every Linux and BSD image, and admin on MikroTik CHR. The Connect card always shows the right one.
Save typing with an SSH config
Add the server to ~/.ssh/config on your computer:
Host web-01
HostName 203.0.113.24
User root
IdentityFile ~/.ssh/id_ed25519
ServerAliveInterval 60
From then on, ssh web-01 is enough. ServerAliveInterval stops idle sessions from dropping.
After your first login
- Change the password with
passwd. The Access tab keeps showing the generated one, which stops working once you change it. - If you signed in with the password, add your key now. From your computer, run
ssh-copy-id root@203.0.113.24(Add and use SSH keys).
Troubleshooting
Connection timed out
- Check the badge reads Running. If it reads Off, click Power on.
- Open the Networking tab and look at Firewall applied to this server. A cloud firewall needs a TCP rule for port 22. The SSH only and Web server presets have one; the Windows preset does not (Create and apply cloud firewalls).
- A firewall inside the server, such as
ufworfirewalld, can block port 22 too.
Connection refused
The server answers but SSH is not running. Request Console access (VNC) from Access > Recovery tools, sign in on the console and start the SSH service: systemctl start ssh on Ubuntu and Debian, systemctl start sshd on AlmaLinux and Rocky Linux (Regain access with the recovery tools).
Permission denied
Copy the password again from Access: a missing character is the usual cause. If you changed the password and lost the new one, use Reset root password (Find or reset the root password). With a key, run ssh -v root@203.0.113.24 to see which keys your computer offers.
Remote host identification has changed
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! is expected after a rebuild, because the server has a new host key. Remove the old key from your computer, then connect again:
ssh-keygen -R 203.0.113.24
Only do this when you know the server was rebuilt. If it was not, open a ticket from Support before you connect.