Workspaces
SSH access
You reach every workspace with a normal SSH client and your own key pair. Kilnara stores the public key and never sees the private one.
Make a key once
ssh-keygen -t ed25519 -C "you@kilnara"
cat ~/.ssh/id_ed25519.pub # paste this line into the workspace formThe form refuses anything that looks like a private key. Your browser remembers the public key for the next workspace; clear site data to forget it.
Connect
When the workspace reaches running, Workspaces shows three ready-made snippets:
| Snippet | Use it for |
|---|---|
| SSH command | ssh -p 41022 root@ssh4.vast.ai in any terminal |
| ~/.ssh/config block | A named host for VS Code Remote, JetBrains Gateway or rsync |
| Export command | An scp line that copies /root/workspace to your laptop |
Web apps on a template
JupyterLab, ComfyUI, Ollama and vLLM listen on a port. Kilnara maps it to a public port and shows an “Open app” button. If the host has no direct ports, forward it through SSH instead:
ssh -p <port> root@<host> -L 8888:localhost:8888Hygiene for short-lived hosts
- Use a dedicated key for rented machines and rotate it when you like.
- Pass API tokens as environment variables for the session, and revoke them when the lease ends.
- Keep shell history and logs out of public repos.
- Destroy the workspace when the job finishes instead of letting it idle.