How to connect over SSH
1. Generate a key
On your own computer, in Terminal (macOS, Linux) or PowerShell (Windows):
ssh-keygen -t ed25519 -C "you@yourlaptop"
Press Enter to accept the location. Set a passphrase if you want one.
That writes two files. id_ed25519 is the private key and never leaves
your computer. id_ed25519.pub is the public half, and that is the one
you share.
2. Copy the public key
cat ~/.ssh/id_ed25519.pub
On Windows PowerShell:
Get-Content ~/.ssh/id_ed25519.pub
Copy the whole line. It starts ssh-ed25519 and ends with the comment you
set.
3. Add it to your Pressy
- Open your Pressy and go to Access in the sidebar.
- Under Shell access (SSH), press Add a key.
- Paste the public key and give it a label such as
Work laptop. - Press Add key.
4. Connect
The Access screen shows the login command, ready to copy. It looks like:
ssh -p 22 yourusername@yourhost
Paste it into your terminal and press Enter. Type yes the first time to
accept the host.
Using a password instead
Press Set a password on the Access screen. Keys keep working alongside it, and only one password is active at a time.
Keys are better: nothing to guess, nothing to type, and the private half never leaves your machine.
What you can do once you are in
You land in your own site's files, in your own container. Useful things:
cd public_html # your website
tail -f error_log # watch errors as they happen
du -sh wp-content/* # find what is using your storage
Removing access
Press Revoke on a key. Anyone using it loses shell access immediately, and it cannot be undone from here — the key has to be added again.
When to write to us
Write to us if the key is added and the connection is
still refused. Run the command with -v and send us the output.
Didn’t solve it?
Write to us with your Pressy’s address and what you were doing when it went wrong. Answered by the people who built it.
Last updated