Log inSign up

Logging in from Windows with PuTTY or OpenSSH

Copy the IPv4 address and root password from the Overview tab of your server, enter the address in PuTTY as Host Name with port 22, and log in as root. Windows 10 and 11 also ship an OpenSSH client, so ssh root@198.51.100.24 in PowerShell works without installing anything. For daily use, create a key with PuTTYgen or ssh-keygen and add the public half to the server.

Topic: Your server and account · Tested on: Ubuntu 24.04 and 22.04, Debian 12 and 13, Rocky Linux 9, AlmaLinux 9 · Updated 2026-12-03

Where do you find the login details?

Everything you need is on the Overview tab of the server page. Open Instances, press Manage on the server, and read the rows under the resource cards: IPv4 and IPv6 with copy buttons, Username (always root) and Root password, hidden behind dots until you press the eye button. If the password row says Shown when the server is ready, the server is still Installing; wait until the status chip says Running.

If you selected an SSH key on the Deploy page, that key is already allowed for root and you can skip the password entirely. Otherwise the generated password is your way in for the first login.

How do you install PuTTY?

Download the 64-bit Windows installer (the .msi file) from the official PuTTY download page at chiark.greenend.org.uk and run it. The package installs PuTTY itself, PuTTYgen for keys, Pageant as a key agent and the PSCP and PSFTP file transfer tools. Use a current release (0.81 or later); older versions miss fixes for known issues with certain key types. Avoid copies from download mirrors that wrap the installer in other software.

On Windows on ARM there is a separate ARM64 installer on the same page. The tools behave the same way.

How do you open the first session in PuTTY?

Start PuTTY and you land on the Session category.

  1. In Host Name (or IP address) paste the IPv4 address, for example 198.51.100.24. You can also type root@198.51.100.24 to fill in the user at the same time.
  2. Leave Port at 22 and Connection type on SSH.
  3. Under Saved Sessions type a name such as web-01 and press Save, so next time you just double click it.
  4. Press Open.

A terminal window appears with login as:. Type root, press Enter, then paste the password with a right click (PuTTY pastes with the right mouse button) and press Enter. Nothing appears while you paste; that is normal. A shell prompt such as root@web-01:~# means you are in.

What is the host key prompt and how should you answer it?

The first time you connect, PuTTY shows a PuTTY Security Alert saying the host key is not cached for this server, with its fingerprint. That is expected for a new server: PuTTY has never seen this machine and asks whether to trust it. Press Accept to store the key and connect; Connect Once uses it without saving.

For extra certainty, compare the fingerprint after logging in. On the server run:

for f in /etc/ssh/ssh_host_*_key.pub; do ssh-keygen -lf "$f"; done

The SHA256 line for the ed25519 key should match what PuTTY showed. If a known server later shows the alert again, stop and think: a reinstall from the Settings tab creates new host keys, which explains the change. If you did not reinstall, do not accept it and open a support ticket. To clear the old entry after a reinstall, accept the new key; PuTTY replaces the stored one.

How do you connect with the built-in OpenSSH client instead?

Windows 10 (version 1809 and later) and Windows 11 include the OpenSSH client. Open PowerShell or Windows Terminal and run:

ssh root@198.51.100.24

The first connection prints the host key fingerprint and asks Are you sure you want to continue connecting (yes/no/[fingerprint])?. Type yes and the key is stored in C:\Users\you\.ssh\known_hosts. After a reinstall, remove the old entry with:

ssh-keygen -R 198.51.100.24

If the ssh command is missing, add it under Settings, System, Optional features, OpenSSH Client. The same client handles IPv6: ssh root@2001:db8:4f2a::24.

How do you create a key pair with PuTTYgen?

Open PuTTYgen, select EdDSA with Ed25519 at the bottom (or RSA with 4096 bits if a tool you use requires RSA) and press Generate, moving the mouse over the blank area until it finishes. Then:

  1. Enter a Key passphrase and confirm it. This protects the file if your PC is stolen.
  2. Press Save private key and store the .ppk file somewhere only you can read.
  3. Copy the whole text from the box labelled Public key for pasting into OpenSSH authorized_keys file. It starts with ssh-ed25519.

Paste that single line on the console SSH keys page under Public key, give it a Name such as laptop, and press Add key. Do not paste the line from the Save public key file: that one uses a different multi-line format the console does not accept.

How do you create a key with ssh-keygen on Windows?

With the OpenSSH client, run this in PowerShell and accept the default path:

ssh-keygen -t ed25519 -C "deploy@laptop"
type $env:USERPROFILE\.ssh\id_ed25519.pub

The second line prints the public key; copy it into the console. The private key stays in id_ed25519 next to it. PuTTY can use the same key if you load the private file in PuTTYgen with Conversions, Import key, then Save private key as .ppk.

How do you use the key once the server has it?

A key you select on the Deploy page is installed at first boot. For a server that is already running, add the key yourself: log in with the password, then append the public line to root (or your user) like this:

mkdir -p ~/.ssh && chmod 700 ~/.ssh
echo "ssh-ed25519 AAAAC3Nza... deploy@laptop" >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys

In PuTTY, open your saved session, go to Connection, SSH, Auth, Credentials, and choose the .ppk file under Private key file for authentication. Return to Session and press Save. In Connection, Data you can set Auto-login username to root or deploy. With Pageant running and the key loaded, you will not be asked for the passphrase on every login. OpenSSH picks up id_ed25519 automatically.

Once keys work, create a normal sudo user and turn off password logins, as shown in SSH keys and hardening.

What if the connection fails?

Most problems fall into a few groups:

  • Network error: Connection timed out: the server is not Running, the address is wrong, or a firewall on the server blocks port 22. Check the status in the console and make sure your rules allow SSH (see firewall rules).
  • Connection refused: the machine answers but sshd is not listening on 22, often after a port change. Use the port you configured.
  • Access denied: wrong password or key. Copy the password with the copy action instead of retyping it, and check that the right .ppk is selected.
  • Server refused our key: the public line on the server is incomplete or has wrong permissions on ~/.ssh.

If you locked yourself out completely, reinstalling from the Settings tab gives a fresh system and a new root password, at the cost of the data on the disk.

Questions about Connect with PuTTY on Windows

Do I need PuTTY at all on Windows 11?

Not necessarily. Windows 11 includes the OpenSSH client, so ssh root@198.51.100.24 works in PowerShell. PuTTY is handy if you like saved sessions and a graphical settings window.

Why does nothing appear when I paste the password?

Linux does not echo password characters. Paste with a right click in PuTTY and press Enter.

Can I use a .ppk key with OpenSSH?

Not directly. Load it in PuTTYgen and use Conversions, Export OpenSSH key to write a file OpenSSH understands.

Why did the host key change after I reinstalled?

A reinstall writes a fresh system with new host keys, so PuTTY and OpenSSH see a different key. Accept the new key in PuTTY, or run ssh-keygen -R for OpenSSH.

Where is the root password if I deployed with an SSH key?

It is still generated and shown on the Overview tab behind the eye button. Many people disable password logins once the key works.

Can I connect over IPv6?

Yes, if your own network has IPv6. Use the IPv6 address from the Overview tab, for example ssh root@2001:db8:4f2a::24.