Documentation

Connecting with SSH

How to reach the command line on your server, and why the port is not 22.

Your port is not 22

SSH normally runs on port 22. Your server is reached on a port unique to you — something like 20015 — because every Maple Key shares one public address, and a port can only point at one server at a time. Your console page shows yours.

This is why pasting a command from somewhere else on the internet usually fails: it will assume port 22 and land nowhere.

$ ssh root@HOST -p YOUR_PORT

On Windows

Windows 10 and 11 include SSH. Open PowerShell or Terminal and use the same command. If you prefer a graphical client, PuTTY works — put the host in the Host Name box and your port in the Port box, not the host and port together.

Using a key instead of a password

Keys are both more secure and less typing. Generate one on your own computer, then copy it to your server:

$ ssh-keygen -t ed25519 -C "you@example.com"
$ ssh-copy-id -p YOUR_PORT root@HOST

Test that key login works before you disable password login. Locking yourself out of a server is recoverable, but it means opening a support ticket.

Keep reading