Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

Connect to a Linux server over SSH

Open an SSH session to a CloudSat Linux or BSD server from macOS or Linux, with the generated root password or your key, and fix the usual connection errors.

CloudSat teamUpdated Nov 18, 20263 min read

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

  1. Open Servers and click the server.
  2. On the Overview tab, the Connect card shows the command, for example ssh root@203.0.113.24. Click Copy.
  3. 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

  1. Open a terminal and paste the command:
ssh root@203.0.113.24
  1. On the first connection, SSH shows the server's host key fingerprint and asks whether to continue. Type yes.
  2. 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 ufw or firewalld, 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.