jezahost

SSH key

How to connect to a Linux server over SSH with a key, and how to add the key when ordering.

Markdown .mdUpdated: November 15, 2026

On Linux servers, SSH password login is disabled. You can sign in to SSH only with a key. The password works only for the console.

Adding the key when ordering

You give the SSH key when you order the server.

  1. Order a server and go to the Access details section.
  2. In Username, enter the name of the user to create on the server. The default is vps_admin.
    • The name must start with a lowercase letter or _.
    • It must be 3–32 characters long.
    • root, admin, administrator and sysadmin are not allowed.
  3. Paste your public key into SSH public key. It looks like ssh-ed25519 AAAA…. This field is required for Linux.
  4. The VM password is generated for you. Save it now: after ordering it is not shown in the portal again, and it is e-mailed to you only once.

If you don't have a key, click How do I create a key? next to the field. It has steps for Terminal, Windows, PuTTY and MobaXterm.

Creating a key (Linux, macOS, Windows 10/11)

Run this in a terminal or PowerShell:

ssh-keygen -t ed25519

This creates two files:

  • ~/.ssh/id_ed25519.pub: the public key. Paste the contents of this file when ordering.
  • ~/.ssh/id_ed25519: the private key. Never share it.

Connecting to the server

The server's IP address is on its service page. The username is shown in Login user.

ssh vps_admin@SERVER_IP

SSH (port 22) is open directly; no extra rule is needed. The server starts with the SSH key from your order. Signing in to SSH with a password is not possible.

The only port that is not opened directly is 3389 (Windows RDP). For RDP, choose another external port and add a port forwarding rule.

Adding another key or changing the key

The portal has no form for changing keys after ordering. Change them on the server itself:

  1. Connect to the server.
  2. Add the new key as a new line in ~/.ssh/authorized_keys.
  3. To remove an old key, delete its line from the file.

If you lost your key, sign in through the console and fix the file there. If you don't know the console password, set a new one with Reset password.

Note: rebuilding the OS writes the key from your order again. Keys you added later are removed.

Didn't find an answer?

Message us on WhatsApp and we'll help. Every day, 08:00–24:00.