Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Zed 2 min read Announcement easyNovice

SSH Remoting is Here!

Zed can now open projects on any SSH-reachable machine, keeping the UI local while language servers, tasks and terminals run on the remote host. It reuses a single connection per host via OpenSSH ControlMaster and downloads a statically linked musl remote server, which avoids glibc incompatibilities on older distros and runs on Nix. The server runs as a daemon so language servers survive dropped connections, and unsaved changes are backed up locally. Supporting collaboration required splitting the Project model into local and remote modes for collab host, SSH host and guest roles, with new multi-role sync tests.

Assumes: SSH basics

Related posts

  • Host a Dev Environment on Render with VS Code and Tailscale

    Render mediumAdept

    A self-hosted cloud dev environment can run on Render as a private service, reached over a Tailscale subnet router and edited with VS Code's Remote-SSH extension. code-server works and installs as a PWA, but it lacks some extensions. OpenSSH fails in Render's unprivileged containers because privilege separation needs CAP_SYS_CHROOT, so dropbear serves SSH instead, with SSH agent forwarding for GitHub authentication. A persistent disk mounted at /home keeps repos, caches and the VS Code binaries across deploys, and a start script recreates authorized_keys at runtime so the mount doesn't overwrite it.

  • Zed Moves Toward Secure-by-Default: Introducing Worktree Trust

    Zed mediumAdept

    Zed now opens new worktrees in Restricted Mode, refusing to parse project `.zed/settings.json`, spawn language servers, or start MCP servers until the user explicitly trusts the worktree. The change follows Mindgard vulnerability reports showing that a malicious project settings file could execute arbitrary shell commands via MCP `context_servers` or LSP `binary` entries simply by opening the project. Trust is persisted per host (local, SSH, WSL), can cover a parent folder, and can be reset with `workspace::ClearTrustedWorktrees`. An opt-out `trust_all_worktrees` setting exists for sandboxed environments, though manually granted trust is the only kind that persists across restarts.

  • Run Your Project in a Dev Container, in Zed

    Zed mediumAdept

    Zed v0.218 can open projects inside Dev Containers defined by `.devcontainer/devcontainer.json`, giving teams reproducible development environments. It reuses Zed's SSH remote-development architecture: the local Zed runs the GPUI interface and spawns a Zed remote server that handles files, language servers and parsing, communicating over stdin/stdout. Supporting containers only needed a new transport over `docker exec`. Containers are created by calling the reference `devcontainer up` CLI, which got the feature shipped quickly but means `forwardPorts` and Zed-specific `customizations` such as extensions are not supported yet. A planned in-house implementation is meant to add both.

  • Remote Development at Slack

    Slack Engineering mediumAdept

    Slack moved webapp development off laptops (where Hack/HHVM, a 30-minute clone and Docker-based setups were slow and brittle) onto short-lived AWS EC2 remote environments accessed through VSCode Remote SSH. A warm pool kept in an Auto Scaling Group syncs with master periodically. A `slack remote-dev -b <branch>` CLI command reserves an instance, detaches it from the ASG, checks out the branch and syncs personal dotfiles from `~/.remote-dev-home`, producing a ready environment in under 90 seconds instead of roughly 12 minutes of bootstrap. Instances terminate on detach or when the branch merges. Upgrading from C5.2xlarge to C5.4xlarge took a single config change, and over 90% of webapp engineers adopted the workflow within months of its October 2021 GA.

  • Linux when?

    Zed mediumAdept

    Zed's Linux port works by implementing GPUI's platform-agnostic `Platform` and `PlatformWindow` traits for Linux. Three months after open-sourcing, Zed compiles and runs usably on Linux. The hard parts were the fragmentation of the Linux desktop (distributions, packaging, X11 vs Wayland, desktop environments, audio servers) and replacing the Metal renderer. Community contributor kvark solved rendering with Blade, a Vulkan-based GPU abstraction, and other contributors added Wayland support, file dialogs and input fixes behind a shared `LinuxClient` trait.

The quest for software engineering knowledge.

Look:
Layout: