orgo ssh in the CLI. orgo ssh opens a terminal over a WebSocket and needs no SSH key. Direct SSH, on this page, is a plain SSH server you connect to over TCP.
Direct SSH is for Linux computers. Mac, Windows, Android and iPhone computers don’t have it.
Turn it on
- Open the computer’s settings: Computer settings in the computer’s ⋯ menu, or Settings in its menu in the computer list. Then choose SSH.
- Paste your public key (the contents of a
.pubfile, for example~/.ssh/id_ed25519.pub). Never paste the private key. - Click Enable SSH.
Connect from another tool
Tools that ask for an SSH endpoint want these values:What to know
- You log in as
root, with your key. - Accepted keys:
ssh-ed25519,ssh-rsa,ecdsa-sha2-*and the security key typessk-ssh-ed25519@openssh.comandsk-ecdsa-sha2-*@openssh.com. To allow more than one key, paste one key per line (16 KB at most). - Changing keys: under Manage access, Update key replaces the keys on the computer with the ones you paste. If you’re asked to restart, the old keys keep working until you do.
- Turning it off: under Manage access, Disable SSH removes your keys from the computer (
/root/.ssh/authorized_keys, including any keys you added there yourself). Turning SSH back on means pasting the key again. - Who can turn it on: the workspace owner and members who can edit. View only members and share link guests can’t.
- Check the tab after a move. If your computer moves to another server, its host and port can change. The SSH tab always shows the current command.
- Asleep computers don’t take connections. SSH works again once the computer wakes.
From the API
The same settings are available by API key:- Get SSH settings:
GET /computers/{id}/sshreturns the command, host, port and user. - Turn on SSH:
POST /computers/{id}/sshwith your public key. - Turn off SSH:
DELETE /computers/{id}/ssh.
Troubleshooting
Permission denied (publickey): open Manage access in the SSH tab, paste your public key again and click Update key. If you’re asked to restart, restart once. Check that you connect with the matching private key (ssh -i ~/.ssh/<key> -p <port> root@<host>).
Connection refused or a timeout: make sure you use the port from the SSH tab, not 22, and that the computer is running.
Still stuck? Send us the output of ssh -v -p <port> root@<host> and we’ll take a look.