Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

Connect over SSH from Windows

Reach a CloudSat Linux server from Windows 10 or 11 with the OpenSSH client built into PowerShell, or with PuTTY, using a password or an SSH key.

CloudSat teamUpdated Nov 18, 20263 min read

Windows 10 and 11 include an OpenSSH client, so you can connect to a Linux server from PowerShell or Windows Terminal with nothing to install. PuTTY works too if you already use it. To reach a Windows server, use Remote Desktop instead: see Connect to a Windows server with Remote Desktop.

Connect from PowerShell

  1. In the console, open the server. On the Overview tab, copy the command from the Connect card, for example ssh root@203.0.113.24.
  2. No key on the server? Open Access, type your CloudSat password in Your account password, click Reveal server password and copy it.
  3. Open Windows Terminal or PowerShell, paste the command and press Enter.
  4. Type yes to trust the host key on the first connection.
  5. Paste the password with a right-click or Ctrl+V. Nothing shows while you type.

If PowerShell says ssh is not recognized, check for the client, then add it. The second command needs PowerShell run as administrator:

Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH.Client*'
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0

Create and use a key

Generate a key pair. Press Enter to accept the default location, then set a passphrase:

ssh-keygen -t ed25519
Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub

The second command prints your public key: one line that starts with ssh-ed25519. Add it on the SSH keys page with Add SSH key, then tick it in step 4 of the deploy form for new servers (Add and use SSH keys).

Windows has no ssh-copy-id. To put the key on a server that is already running, pipe it over SSH. You type the server password one last time:

Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub | ssh root@203.0.113.24 "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"

On the next connection, ssh finds id_ed25519 in your .ssh folder by itself and skips the password.

Connect with PuTTY

  1. On the "Session" screen, type the IP address in "Host Name (or IP address)". Keep port 22 and the SSH connection type.
  2. Under "Connection" > "Data", set "Auto-login username" to root.
  3. For a key: PuTTY reads .ppk files. Open PuTTYgen, choose "Conversions" > "Import key", load your private key (the id_ed25519 file without .pub) and click "Save private key". In PuTTY, select that file under "Connection" > "SSH" > "Auth" > "Credentials".
  4. Back on "Session", save the session under a name, then click "Open".

If PuTTYgen made your key, paste the text from the box at the top of its window (the public key in OpenSSH authorized_keys format) into the console. The other PuTTY export format is refused.

Troubleshooting

  • Connection timed out. The server must read Running, and the firewall on its Networking tab must allow TCP port 22.
  • Remote host identification has changed. Expected after a rebuild. Run ssh-keygen -R 203.0.113.24 in PowerShell and connect again.
  • "This does not look like an OpenSSH public key." You pasted a PuTTY-format key or a private key into the console. Paste the single line that starts with ssh-ed25519.
  • Permission denied. Copy the password again from Access, or reset it (Find or reset the root password).

More fixes are in Connect to a Linux server over SSH.