ssh: one-off commands, scp, and your editor’s remote-SSH.
websvc-… shown on the service page and in every
service link). There is one endpoint — ssh.onslipway.sh — and the username is what selects
which service you land in; you never connect to a per-service hostname. It drops you into a
shell in that service’s newest running deployment, in the same container the console shell
uses.
SSH access is the same plan capability as the web shell. On a plan without it, the
connection is refused with a message rather than opening.
Authenticating
Two ways, either works:- An SSH key you’ve registered. Add your public key in Account → SSH Keys (or with
sw ssh-keys add ~/.ssh/id_ed25519.pub). This is the usual path, and the only one that works withscpand editor remote-SSH. - A CLI token as the password. If a client prompts for a password, paste a token from
slipway login. Handy for a quick one-off without registering a key.
Running a one-off command
Append a command to run it non-interactively and get its exit code back — useful in scripts and CI:Managing your keys
- Console
- CLI
In Account → SSH Keys: add a key (paste the contents of a
.pub file), see each
key’s fingerprint and when it was last used, and remove keys you no longer want.If you signed in with GitHub, Import from GitHub lists the public keys already on
your GitHub account and lets you pick which to add — no copy-paste.Notes
- A sleeping service wakes when you connect. SSH says so, wakes it and connects once it is up, which can take up to a minute. The web shell does not wake anything, so wake it from the console first.
- A paused service does not. Pausing is a deliberate stop, and nothing but you will
undo it. SSH says the service is paused rather than making you wait; start it from the
console or with
sw services start <service>, then reconnect. - The container needs a shell. A distroless or shell-less image has nothing to drop you into; the same is true of the web shell.
- Paste public keys only. Never paste a private key — the field wants the single line
from a
.pubfile (ssh-ed25519 AAAA… you@host).