# Zed

> Connect Zed to an Occlude session with remote development over SSH. Setup, where Zed's assistant runs, and what stays on the laptop.

Source: https://occlude.dev/docs/zed/ · Reviewed 28 November 2026

Zed's remote development runs its server in the Occlude workspace and its interface on your machine. Language servers, tasks and the terminal run in the workspace, on your side.


## Before you start

- Zed, with remote development.
- OpenSSH on your machine, and an `ed25519` key.
- A session you have been granted.

## Connect

1. **Get a certificate.** In Occlude, open the session, choose *Connect an editor* and paste your public key. Save the files Occlude returns beside your key.
2. **Add the `Host` block** Occlude gives you to `~/.ssh/config`, the same block as on the [VS Code](https://occlude.dev/docs/vscode/) page. Zed's documentation says it "shells out to the ssh on your path", so it uses that block as written.
3. **Send Zed's server from your machine.** The workspace has no route to the internet, so tell Zed to download its server locally and upload it. In Zed's `settings.json`:

```json
{
  "ssh_connections": [
    {
      "host": "occlude-<session>",
      "upload_binary_over_ssh": true,
      "projects": [{ "paths": ["/workspace"] }]
    }
  ]
}
```

Then open the project from **Remote Projects**, or from a terminal:

```sh
zed ssh://occlude-<session>/workspace
```

## What you see

The file tree, search and the terminal hold your task's files. Language servers run in the workspace, so an import of an *Occluded* module resolves to its declaration. `npm run dev` and `npm test` run on the build's side; see [How a build runs](https://occlude.dev/docs/builds/).

## Zed's assistant

In Zed's words, on your machine Zed "runs its UI, talks to language models, uses Tree-sitter to parse and syntax-highlight code, and stores unsaved changes and recent projects." So the assistant's requests leave from your laptop, and what you open is parsed there. It can read and send what you can read. An *Occluded* file does not exist for it. See [Where your code goes](https://occlude.dev/docs/data-flow/).

Zed keeps unsaved changes on your machine. Save your work in the session before it ends.

## Something not working

See [Troubleshooting](https://occlude.dev/docs/troubleshooting/).

## Sources

Vendor pages, last read on 28 November 2026. Each vendor's behaviour can change; their page is the authority.

- [Zed: remote development](https://zed.dev/docs/remote-development)
