Tutorials

Connect with SSH

You no longer need to install anything for SSH. Windows 10 and 11, macOS and Linux ship OpenSSH: ssh, sftp, scp and ssh-keygen. This guide walks you through the built-in client with a key of your own. PuTTY is covered at the end as an alternative.

Only need to do something quick on the server? Open Terminal on your VPS or webspace in the dashboard. It runs in the browser and needs no key on your computer.

Your login details

VPS (Linux) Webspace
Host your VPS's IPv4 address your webspace's address, e.g. ws-ab123.sitequest.eu
User root the webspace user, e.g. ws_ab123 (the hyphen becomes an underscore)
Port 22, unless you changed it (SSH area → Connection) always 22
Login key, or the root password while password login is on key only, there is no password

For both VPS and webspace, the ready-made command with user and host is in the SSH area under Connection → Command. One click copies it.

1. Check that SSH is there

Open a terminal:

  • Windows: Windows Terminal or PowerShell (Start menu → "Terminal")
  • macOS: Applications → Utilities → Terminal
  • Linux: your terminal

Type:

ssh -V

If you see a version such as OpenSSH_9.x, you're ready. If Windows says the command is unknown, add the client: Settings → System → Optional features → Add a feature → OpenSSH Client. Then reopen the terminal.

2. Create a key

A key is safer than a password, and on a webspace it's required. Create it on your own computer so the private part never leaves your device:

ssh-keygen -t ed25519 -C "max-laptop"
  • Press Enter to accept the suggested location (Windows: C:\Users\<name>\.ssh\id_ed25519, macOS/Linux: ~/.ssh/id_ed25519).
  • Set a passphrase. It protects the key if someone gets hold of your computer.

You get two files:

  • id_ed25519 is your private key. It stays with you. Never share it.
  • id_ed25519.pub is your public key. That's the one you add to Sitequest.

Print the public key and copy the whole line:

cat ~/.ssh/id_ed25519.pub

This works in Windows PowerShell too.

3. Add the public key

  1. Open your VPS or webspace in the dashboard and go to the SSH area.
  2. Under SSH Keys, click Upload.
  3. Enter a Display Name, such as the device, and paste the line from id_ed25519.pub. It starts with ssh-ed25519.
  4. Click Upload Key.

The key goes straight into ~/.ssh/authorized_keys on your server. Only the owner of the resource can add keys.

Faster, but less safe: Generate has the dashboard create the key pair for you. You see the private key exactly once. Click Download right away and put the file in your .ssh folder. The display name becomes the file name. If the window shows a Key Password for a VPS, you need it when you connect. On a webspace, the generated key is an Ed25519 key without a passphrase.

4. Connect

VPS:

ssh root@203.0.113.10

With a custom port:

ssh -p 2222 root@203.0.113.10

Webspace:

ssh ws_ab123@ws-ab123.sitequest.eu

If your key isn't in the default location, for example because you downloaded it from the dashboard, pass it with -i:

ssh -i ~/.ssh/my-key ws_ab123@ws-ab123.sitequest.eu

On the first connection SSH asks whether you trust the server. Type yes. From then on your computer remembers the server and warns you if its key changes.

5. Short names with ~/.ssh/config

Instead of typing the details every time, put them once into ~/.ssh/config (Windows: C:\Users\<name>\.ssh\config, no file extension):

Host my-vps
    HostName 203.0.113.10
    User root
    Port 22
    IdentityFile ~/.ssh/id_ed25519

Host my-webspace
    HostName ws-ab123.sitequest.eu
    User ws_ab123
    IdentityFile ~/.ssh/id_ed25519

Now ssh my-vps or ssh my-webspace is enough. sftp, scp, VS Code and Cyberduck read this file too.

Next: turn off password login on your VPS

Once your key works, go to the SSH area of your VPS and, under SSH Hardening, switch on Disable Password Authentication. Password attacks on root then go nowhere. Test the key login in a second terminal first. Details are in SSH Access & Key Management.

Alternative: PuTTY

PuTTY is still maintained and works well, but you don't need it any more. Use it if you like saved sessions you can click, or already work with it.

  • Download PuTTY only from the official site: chiark.greenend.org.uk/~sgtatham/putty. putty.org has nothing to do with the PuTTY project.
  • Use the latest version. 0.85 from August 2026 fixes several security issues.

PuTTY doesn't read OpenSSH keys, only its own .ppk format. To convert your key:

  1. Open PuTTYgen (installed with PuTTY).
  2. Conversions → Import key and pick your private key, e.g. id_ed25519. Enter the passphrase if you set one.
  3. Click Save private key and save the file as id_ed25519.ppk.

You can also create a new key right in PuTTYgen with Generate. Copy the public key from the box at the top of the window ("Public key for pasting into OpenSSH authorized_keys file") and upload it as in step 3.

To connect with PuTTY:

  1. Session: enter the Host Name, e.g. ws-ab123.sitequest.eu or your VPS's IP, port 22 (or your VPS port), connection type SSH.
  2. Connection → Data: set Auto-login username to root or ws_ab123.
  3. Connection → SSH → Auth → Credentials: under Private key file for authentication, pick your .ppk file.
  4. Back in Session, type a name under Saved Sessions, click Save, then Open.

VS Code and other editors

With the Remote - SSH extension you edit files on your VPS right inside VS Code. It uses your OpenSSH client and your ~/.ssh/config.

Remote - SSH doesn't work on a webspace: the extension needs port forwarding, which is switched off on webspaces for security. Use SFTP, the dashboard or our MCP server there.

Common errors

Permission denied (publickey): The server doesn't know your key, or your client offers the wrong one. Check that the public key is listed in the SSH area, and pass the private key with -i. On a webspace, also check the user name: ws_ab123, with an underscore.

WARNING: UNPROTECTED PRIVATE KEY FILE!: Other users can read your key file, so SSH refuses it. On macOS and Linux:

chmod 600 ~/.ssh/my-key

In Windows PowerShell:

icacls $env:USERPROFILE\.ssh\my-key /inheritance:r /grant:r "$($env:USERNAME):(R)"

Connection timed out or Connection refused: Check host and port. On a VPS, the firewall may block the SSH port, or the server is off. The VNC console gets you onto the server without SSH.

REMOTE HOST IDENTIFICATION HAS CHANGED!: The server has a new host key, for example after a reinstall. If you just set the server up again, remove the old entry:

ssh-keygen -R 203.0.113.10

If you didn't change anything, don't connect. Find out what happened first.

Next steps