Edit one remote file in a normal local editor and automatically upload it over SSH on save. It is designed for small Linux/MIPS devices where VS Code Remote-SSH cannot run VS Code Server.
No agent, Node.js, or SFTP server is needed on the remote host -- only sh, cat, cp, and mv.
rcode is for editing a file on constrained SSH targets: routers, embedded Linux/MIPS devices, and appliances where a full remote development environment is impractical. It downloads one file to a temporary local folder, opens it in your normal editor, and atomically uploads every saved change through the same SSH connection.
| rcode | VS Code Remote-SSH |
|---|---|
| Edits one chosen file with your existing local editor. | Opens a remote workspace inside VS Code. |
Requires only SSH plus sh, cat, cp, and mv on the target. |
Installs and runs VS Code Server and remote extension hosts on the target. |
| Small, focused CLI for low-resource or unsupported architectures. | Full IDE features: remote terminal, debugging, extensions, and workspace browsing. |
| Best when you only need to change a configuration or source file quickly. | Best for regular development on a supported, sufficiently capable machine. |
Download rcode-windows-amd64-setup.exe from the repository's Releases page. It installs rcode and adds it to PATH; open a new terminal afterwards.
rcode --password root@192.168.1.1:/opt/etc/xray/configs/02_dns.json
rcode --key C:\Users\me\.ssh\router root@router:/etc/config/network
rcode --editor notepad root@router:/etc/hostsVS Code is the default editor. Set $env:RCODE_EDITOR to choose another default. Password authentication is prompted once at session start; the SSH connection remains open while editing.
cd go
go build -o rcode.exe .See go/README.md for Go-specific build and release details.
- One file per process.
- Does not parse
~/.ssh/configaliases or options. - Encrypted private keys are not prompted for yet.
- No remote-change conflict detection.