Remote over SSH
Open a folder on a Linux machine over SSH and work on it as if it were local. The window stays on your computer; files, terminal, Git, language servers, extensions and agents run on the remote host.
How it works#
IZ Code does not copy your project. It connects over SSH, installs a small IZ Code agent on the host the first time, and runs the heavy work there. Your computer shows the editor and the results.
flowchart LR
subgraph laptop["Your computer"]
UI["Editor, panels, chat, port forwarding"]
end
subgraph host["Remote host (Linux)"]
AG[IZ Code agent]
W["Files, terminal, Git, search"]
LS["Language servers, extensions, debugger"]
AI["Index, memory, tasks, agents"]
end
UI <-->|SSH| AG
AG --> W
AG --> LS
AG --> AIThere is only one copy of the project: the one on the host. If you want a local copy that stays in step with the host, see Move and sync workspaces.
Connect to a host#
- Open the Remote Explorer Click Remote Explorer in the Activity Bar. It lists Recent connections and the hosts from your SSH config file under SSH Config. You can also run Remote: Open Folder over SSH… from the Command Palette.
- Choose Connect to Remote… The Open Remote Folder over SSH dialog opens. Enter the host, port and user, or pick a host from your SSH config.
- Pick how to authenticate Under Authentication, keep Automatic (ssh-agent, key files, password) or choose ssh-agent, Key file or Password. See the table below.
- Check the host key the first time
For a host you have never connected to, IZ Code shows Unknown host with the SHA-256 fingerprint. Compare it with the server's fingerprint, then choose Trust & continue. The key is saved to your
known_hostsfile. - Choose the folder Type a remote path, or click Browse… to walk the host's folders. You can create a folder or clone a repository on the host from the browser too. Then choose Connect & Open.
- Wait for the first setup On a new host IZ Code installs its agent (Installing IZ Code on …). This happens once per IZ Code version. After that the folder opens in the Explorer like any local folder.
Authentication#
| Method | What IZ Code tries |
|---|---|
| Automatic | Your ssh-agent, then the IdentityFile entries for the host in ~/.ssh/config, then ~/.ssh/id_ed25519, id_ecdsa and id_rsa, then the password if you typed one. |
| ssh-agent | Only the keys loaded in your agent. |
| Key file | One private key you choose. If it is protected, IZ Code asks for the passphrase. |
| Password | Only the password. |
IZ Code reads your ~/.ssh/config: Host, HostName, User, Port, IdentityFile, IdentitiesOnly, IdentityAgent, ProxyJump and Include all work. Jump hosts never receive your password.
Reconnecting#
- On startup. IZ Code reopens the SSH folders of your last session in the background, using your ssh-agent or a key without a passphrase. Folders you opened with a password are not reconnected automatically; a banner offers to reconnect them.
- If it can't reconnect. A banner shows the reason with Retry, Reconnect (opens the dialog with the remembered settings) and Forget.
- While a window waits. If the main folder of a window is remote, the window shows Connecting to … until the host answers. Choose Continue on this machine to work with local folders instead.
- Lost connection. When the connection drops, IZ Code shows Lost connection to "…". Choose Reconnect. Unsaved editors keep their content.
- Stable connections. Connections time out after 20 seconds if the host does not answer, and keepalives detect a dead link.
IZ Code remembers how you connected (method, key path, SSH alias), never a password or passphrase.
What runs on the host#
| Feature | On the host |
|---|---|
| Files, Explorer, search | Read and written on the host; the Explorer updates when files change there. |
| Terminal | A real shell on the host. |
| Git | Status, staging, commits, branches, stash and diffs run on the host. Fetch, pull and push use your local ssh-agent through agent forwarding, so your private keys never leave your computer. |
| Language servers | Run on the host, for every language. |
| Extensions | In a remote window, the Extensions view installs to the host. IZ Code downloads the right build for the host's platform and uploads it, so the host needs no internet access for this. |
| Debugging | Run and Debug starts the debugger on the host, with breakpoints, call stacks and variables. See Debugging. |
| Code Intelligence | The index is built and kept up to date on the host. Semantic search works too; IZ Code uploads the model if the host cannot download it. See Code Intelligence. |
| Agent Memory | Stored in the project on the host. See Agent Memory. |
| Tasks and workflows | Stored and run next to the project on the host. See Tasks. |
| Database | The database tools run on the host and use the host's saved connections. See Database. |
| Agents | Agent sessions run on the host. The agent CLI must be signed in on the host. Tool approvals still appear in your window. |
| Web pages of a dev server | A page on localhost:<port> of the host is forwarded to the same port on your computer when it is free, so the integrated browser and breakpoints keep working. |
Your non-secret settings (for example izcode.awe.* and izcode.ame.*) are sent to the host automatically. Credentials are sent only when you add them yourself in Settings ▸ Environments ▸ Remote hosts: there you can store values such as env.API_KEY, or choose Send my environment variables. They are stored on the host in a file only your account there can read.
Settings#
| Setting | Values | Default |
|---|---|---|
izcode.remote.autoReconnect | true, false (Settings ▸ General ▸ Startup ▸ Reconnect remote folders on startup) | true |
izcode.remote.compression | auto, on, off (Compress remote connections) | auto |
With auto, IZ Code compresses connections that leave your local network and leaves local-network ones uncompressed. A change applies to the next connection.
Requirements and limits#
- The connection is needed. IZ Code is not offline-first: without the host you keep your open editors but cannot browse or save.
- Agent version. If the agent on a host is too old for a feature, IZ Code says so and suggests reopening the folder so it installs the matching agent. If someone installed the agent by hand, remove it so the bundled one is used.
- Local file pickers. When you pick a file with your computer's file dialog (for example to ingest a document into memory), it is a local path; type the path on the host instead.
Related#
Reach another computer running IZ Code without an SSH server.
Connect to your devicesMove and sync workspacesCopy a local project to a host, or keep both copies in sync.
Move a projectRemote and cloudThe architecture behind remote folders.
How it works