---
title: "How to Connect to a Linux VPS over SSH · CloudSat docs"
description: "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."
url: https://cloudsat.io/docs/connect-over-ssh
updated: 2026-11-18T12:00:00Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

# 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 team Updated Nov 18, 2026 3 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](https://cloudsat.io/docs/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:

```bash
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):

```bash
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:

```text
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](https://cloudsat.io/docs/manage-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](https://cloudsat.io/docs/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](https://cloudsat.io/docs/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](https://cloudsat.io/docs/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:

```bash
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.

- [Connect over SSH from Windows](https://cloudsat.io/docs/ssh-from-windows): Next Connect over SSH from Windows
