|
| 1 | +--- |
| 2 | +name: using-exe-dev |
| 3 | +description: Guides working with exe.dev VMs. Use when the user mentions exe.dev, exe VMs, *.exe.xyz, or tasks involving exe.dev infrastructure. |
| 4 | +--- |
| 5 | + |
| 6 | +# About |
| 7 | + |
| 8 | +exe.dev provides Linux VMs with persistent disks, instant HTTPS, and built-in auth. All management is via SSH. |
| 9 | + |
| 10 | +## Documentation |
| 11 | + |
| 12 | +- Docs index: https://exe.dev/docs.md |
| 13 | +- All docs in one page (big!): https://exe.dev/docs/all.md |
| 14 | + |
| 15 | +The index is organized for progressive discovery: start there and follow links as needed. |
| 16 | + |
| 17 | +## Quick reference |
| 18 | + |
| 19 | +``` |
| 20 | +ssh exe.dev help # show commands |
| 21 | +ssh exe.dev help <command> # show command details |
| 22 | +ssh exe.dev new --json # create VM |
| 23 | +ssh exe.dev ls --json # list VMs |
| 24 | +ssh exe.dev rm <vm> # delete VM |
| 25 | +ssh <vm>.exe.xyz # connect to VM |
| 26 | +scp file.txt <vm>.exe.xyz:~/ # transfer file |
| 27 | +``` |
| 28 | + |
| 29 | +Every VM gets `https://<vm>.exe.xyz/` with automatic TLS. |
| 30 | + |
| 31 | +## A tale of two SSH destinations |
| 32 | + |
| 33 | +- **`ssh exe.dev <command>`** — the exe.dev lobby. A REPL for VM lifecycle, sharing, and configuration. Does not support scp, sftp, or arbitrary shell commands. |
| 34 | +- **`ssh <vm>.exe.xyz`** — a direct connection to a VM. Full SSH: shell, scp, sftp, port forwarding, everything. |
| 35 | + |
| 36 | +## Working in non-interactive and sandboxed environments |
| 37 | + |
| 38 | +Coding agents often run SSH in non-interactive shells or sandboxes. Common issues and workarounds: |
| 39 | + |
| 40 | +**scp/sftp failures**: Ensure you're targeting `<vm>.exe.xyz` rather than `exe.dev`. Use ssh-based workarounds. |
| 41 | + |
| 42 | +**Hung connections**: Non-interactive SSH can block on host key prompts with no visible output. Use `-o StrictHostKeyChecking=accept-new` on first connection to a new VM. |
| 43 | + |
| 44 | +**SSH config**: Check whether both destinations are configured to use the right key: |
| 45 | + |
| 46 | +``` |
| 47 | +Host exe.dev *.exe.xyz |
| 48 | + IdentitiesOnly yes |
| 49 | + IdentityFile ~/.ssh/id_ed25519 |
| 50 | +``` |
0 commit comments