Updated

What you see

Connecting to your server over SSH fails straight away with:
root@203.0.113.24: Permission denied (publickey).

What it means

The server only accepts SSH keys — not passwords — and none of the keys you offered is allowed for that user. It's about the username and the key, not about the server being down.
Quick fix
Log in as the user your host created (root, ubuntu or debian, depending on the provider), and point SSH at the right private key with -i.

Causes and how to fix them

1. Wrong username

Many cloud images don't let you in as root and expect a user named after the system instead — ubuntu on Oracle Cloud's Ubuntu images, for example. Use the username from your host's email or control panel:
ssh ubuntu@203.0.113.24

2. SSH isn't using the right key

If your key isn't in the default place (~/.ssh/id_ed25519 or ~/.ssh/id_rsa), SSH won't find it. Name it explicitly — and add -v to see which keys SSH tries and what the server answers:
ssh -i ~/Downloads/my-server-key.pem ubuntu@203.0.113.24

3. The key file is readable by others

SSH refuses a private key that other users on your computer can read, with an “UNPROTECTED PRIVATE KEY FILE” warning before this error. On macOS and Linux, fix the permissions:
chmod 600 ~/Downloads/my-server-key.pem

4. The server doesn't know your key

The public half of your key has to be in ~/.ssh/authorized_keys for that user on the server. If you created the server without one, add it from the hosting control panel, or log in once through the web console your host provides.

5. Password login is switched off

If you meant to log in with a password, the server has password login disabled — common on cloud images. Use a key, or reset access from the hosting control panel.

Using Nullsify?

Nullsify logs in the same way: with the username, and the password or private key, you enter when adding the server. Any user that can use sudo works, so ubuntu is fine. Keys protected by a passphrase aren't supported, and the login is used once — to install Nullsify's agent — then discarded.
Free for 1 server. Bring your own VPS — Nullsify configures WireGuard, AmneziaWG or VLESS on it for you.

Related problems

Read more