using-exe-dev
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAbout
关于
exe.dev provides Linux VMs with persistent disks, instant HTTPS, and built-in auth. All management is via SSH.
exe.dev提供带有持久化磁盘、即时HTTPS和内置身份验证功能的Linux虚拟机,所有管理操作都通过SSH完成。
Documentation
文档
- Docs index: https://exe.dev/docs.md
- All docs in one page (big!): https://exe.dev/docs/all.md
The index is organized for progressive discovery: start there and follow links as needed.
- 文档索引:https://exe.dev/docs.md
- 单页完整版文档(内容较多):https://exe.dev/docs/all.md
文档索引按循序渐进的逻辑组织:建议从索引页开始,按需点击对应链接查看内容。
Quick reference
快速参考
ssh exe.dev help # show commands
ssh exe.dev help <command> # show command details
ssh exe.dev new --json # create VM
ssh exe.dev ls --json # list VMs
ssh exe.dev rm <vm> # delete VM
ssh <vm>.exe.xyz # connect to VM
scp file.txt <vm>.exe.xyz:~/ # transfer fileEvery VM gets with automatic TLS.
https://<vm>.exe.xyz/ssh exe.dev help # 显示命令列表
ssh exe.dev help <command> # 查看指定命令的详情
ssh exe.dev new --json # 创建虚拟机
ssh exe.dev ls --json # 列出所有虚拟机
ssh exe.dev rm <vm> # 删除虚拟机
ssh <vm>.exe.xyz # 连接到虚拟机
scp file.txt <vm>.exe.xyz:~/ # 传输文件到虚拟机每个虚拟机都会自动分配地址并自动配置TLS证书。
https://<vm>.exe.xyz/A tale of two SSH destinations
两类SSH目标说明
- — the exe.dev lobby. A REPL for VM lifecycle, sharing, and configuration. Does not support scp, sftp, or arbitrary shell commands.
ssh exe.dev <command> - — a direct connection to a VM. Full SSH: shell, scp, sftp, port forwarding, everything.
ssh <vm>.exe.xyz
- — exe.dev入口,用于执行虚拟机生命周期管理、共享、配置相关操作的REPL环境,不支持scp、sftp或任意Shell命令。
ssh exe.dev <command> - — 与虚拟机的直接连接,支持完整SSH功能:Shell、scp、sftp、端口转发等所有功能。
ssh <vm>.exe.xyz
Working in non-interactive and sandboxed environments
非交互式与沙箱环境下的使用说明
Coding agents often run SSH in non-interactive shells or sandboxes. Common issues and workarounds:
scp/sftp failures: Ensure you're targeting rather than . Use ssh-based workarounds.
<vm>.exe.xyzexe.devHung connections: Non-interactive SSH can block on host key prompts with no visible output. Use on first connection to a new VM.
-o StrictHostKeyChecking=accept-newSSH config: Check whether both destinations are configured to use the right key:
Host exe.dev *.exe.xyz
IdentitiesOnly yes
IdentityFile ~/.ssh/id_ed25519代码Agent通常会在非交互式Shell或沙箱中运行SSH,常见问题及解决方案如下:
scp/sftp连接失败:请确保你连接的目标是而非,可使用基于SSH的替代方案。
<vm>.exe.xyzexe.dev连接卡住:非交互式SSH可能会在主机密钥验证环节阻塞且无可见输出,首次连接新虚拟机时请添加参数。
-o StrictHostKeyChecking=accept-newSSH配置:请检查两类SSH目标是否都配置了正确的密钥:
Host exe.dev *.exe.xyz
IdentitiesOnly yes
IdentityFile ~/.ssh/id_ed25519