Work on a remote host over SSH
此内容尚不支持你的语言。
A folder on a machine you reach with ssh opens as a normal project window. The files, the
language servers, Git, terminals and programs stay on the host; the window on your computer keeps
a copy of each open text, so typing never waits for the network. Remote projects over SSH are
Experimental.
- Your windowYou pick a host and a folder in Remote Development.
- Your sshThe system ssh connects with your keys, your ~/.ssh/config and your known_hosts.If not: Refused: unknown or changed host key, or no post-quantum key exchange. Nothing is sent.
- Backend checkFerris IDEA finds or uploads its backend of the same build and compares its SHA-256.If not: Refused: the backend on the host does not match this build.
- Backend on the hostferris-idea serve --stdio opens the folder and owns the texts, servers, terminals and runs.
- SessionEdits, files and output travel inside the SSH channel; no port is opened on either machine.
Before you start
Section titled “Before you start”-
sshreaches the host without a question. Ferris IDEA starts your systemsshin batch mode: it uses your keys, your SSH agent,~/.ssh/configandknown_hosts, and never asks for or stores a password or passphrase. Log in once in a terminal first, so the host key is in yourknown_hostsand your key is loaded: -
OpenSSH 9.0 or later on both ends. Every connection uses a post-quantum key exchange (
mlkem768x25519-sha256, orsntrup761x25519-sha512with OpenSSH 9.0 to 9.8) and nothing else. Why, and what the refusals say: How remote connections are protected. -
A host Ferris IDEA has a backend for. Linux and macOS on x86-64 and arm64. Windows hosts are a preview: Windows hosts and WSL. On a host of your own platform the program you run is used as the backend; for other platforms the backends are built with
scripts/build-backends.shand found inbackendsbeside the program or inFERRIS_IDEA_BACKENDS_DIR.
Open a folder on the host
Section titled “Open a folder on the host”- Choose File › Remote Development…. The same entry is in the project popup and on the Welcome window.
- Pick a host from the list or type one. The list holds the hosts of your
~/.ssh/config(with user, host name and port asssh -Gresolves them), the hosts you added with Add Host…, and your recent remote projects, newest first. You can type an alias,user@hostoruser@host:port. - The dialog shows your home folder on the host. Go into folders, or type a path, and choose Open for the folder shown.
- Connecting shows each step with a Cancel button: connect (10 s limit), check or upload the backend, start it, open the session. Cancel ends whatever was started on the host.
The project window opens with the folder’s name and — build-host.example in its title. The
status bar shows the connection: Connected with the round-trip time, Reconnecting with the
attempt and the time left, or Disconnected. A click on it offers Reconnect, Disconnect, Show
Connection Log and Backend Info (version, build, host platform, folder and session).
Add a host without editing your SSH configuration
Section titled “Add a host without editing your SSH configuration”Add Host… in Remote Development keeps a host in Ferris IDEA’s own list: an alias, the host name,
the port, the user and an identity file. It is written as OpenSSH configuration to
ssh/config in Ferris IDEA’s settings folder (mode 0600), so ssh -F <that file> <alias> reaches the
same host from a terminal. Your ~/.ssh/config and the folder ~/.ssh are never written; their
hosts are listed read-only.
What works on the host
Section titled “What works on the host”Everything that reads or changes the project goes to the backend; nothing of the project is copied to your computer except the texts of open editors.
| Task | Where it happens | Status |
|---|---|---|
| Project tree, create, rename, delete | fs.* on the host; changes made on the host show within about a second |
Experimental |
| Editing and saving | your window’s copy; each edit is sent and acknowledged; saving writes on the host, mode kept, local history on the host | Experimental |
| Problems, completion, go to declaration, rename | the language servers run on the host | Experimental |
| Find in Files, Search Everywhere, Go to File / Class / Symbol | the host’s index | Experimental |
| Commit, branches, log, fetch, pull, push, stash, merge, rebase | Git on the host; credentials stay on the host | Experimental |
| Terminal | a shell of your host account, in the backend; the tab is named after the host | Experimental |
| Run configurations and tests | .ferris-idea/run.toml of the host project and the detected ones; output and the test tree in the Run tool window |
Experimental |
| Debug and ports | Debug and forward ports on a host | In progress |
The guides for the terminal, run configurations and Git apply unchanged.
Trust on the host
Section titled “Trust on the host”The backend runs the host project in safe mode until the host’s own trust list trusts it: language servers start in their safe configuration, run configurations and Git hooks do not run. The window shows the trust banner; Trust Project adds the folder to the trust list on the host. The trust list of your own computer is never used for host folders.
Network breaks, sleep and reconnection
Section titled “Network breaks, sleep and reconnection”You can keep typing when the connection drops.
- While disconnected every editor stays editable and new edits wait in a queue; the tab shows the unsaved marker. Saving says Not saved — reconnecting to build-host.example and is carried out once the connection is back. Tree changes and other host actions are refused with the same reason; nothing that needs the host fails silently.
- Reconnecting starts by itself after 1, 2, 4, 8 and 16 seconds and then every 30 seconds, as long as the backend waits for you (10 minutes by default). Reconnect in the connection menu tries at once. A laptop that slept reconnects the same way after waking.
- After the resume the backend replays what you missed, your waiting edits are applied once, and terminals and runs, which kept running on the host, show their last 1 MiB of output again.
- When the backend is gone (the waiting time passed, or the host restarted) the window starts a new backend and compares each document that had unsaved changes with the file on the host. Unchanged on the host: your edits are applied. Changed on the host: your text stays as an unsaved version and you choose to compare, overwrite or reload. The connection log records which document went which way.
- A crash of the window leaves a recovery copy of every document with unsaved edits (mode 0600, in the window’s own state folder). Opening the remote project again offers to restore them.
Closing the project asks about unsaved remote files as for local ones; the backend ends when no window is left.
One file without a project: the Remote Host tool window
Section titled “One file without a project: the Remote Host tool window”
Real frames of the application · ferris-idea drive, then ferris-idea drive screenshot after each step (docs/site/scripts/record-tour.py) · v1.6.0 debug build of main, 2026-12-04 · throwaway local project; Remote Host connected to a throwaway SSH server on 127.0.0.1 with the made-up project demo-shop; theme Ferris IDEA Dark
For a quick change to a configuration file, open View › Tool Windows › Remote Host
Experimental. Pick a host, browse its folders as a tree, and press Enter on a
file: the file is copied into your cache folder and opened. Saving uploads it, and a file that
changed on the host since you read it is never overwritten by a save alone. The window also
creates, renames and deletes files and folders, takes files dragged from the Project tree (never
replacing one), and SSH Terminal opens an interactive ssh session in the folder shown. It
needs only POSIX tools on the host, so it works on any Unix host without installing anything.
When it does not work
Section titled “When it does not work”| Message | What it means | What to do |
|---|---|---|
| The host key is unknown, or has changed | ssh refused it in batch mode; Ferris IDEA never accepts a host key itself |
Connect once in a terminal and check the fingerprint with the host’s owner; for a changed key, find out why before you remove the old one |
<host>: the host offers no post-quantum key exchange |
The host’s OpenSSH is older than 9.0; nothing was sent | Update OpenSSH on the host |
the local ssh client offers no post-quantum key exchange |
Your own OpenSSH is older than 9.0 | Update OpenSSH on your computer |
the SSH configuration runs its own ProxyCommand |
A ProxyCommand could start a connection without the post-quantum rule |
Use ProxyJump instead; every hop then gets the same options |
no backend build for <platform> |
No backend exists for the host’s system and processor | Build the backends, or install ferris-idea-serve there and pair it |
the backend on the host does not match this build |
The uploaded copy’s SHA-256 differs from your program’s; the copy was deleted | Open the project again; if it repeats, check what changes files in ~/.cache/ferris-idea/bin/ on the host |
| A backend older than the window | It would not serve every method the window needs | Build the backends again, or update Ferris IDEA on the host |
The connection log (status bar, Show Connection Log) has each step with its time. The backend
writes what it did for you (open, save, tree changes, runs, never content) to
remote/audit.jsonl in your state folder on the host.
For agents
Section titled “For agents”Agents open and watch remote projects with the tools below. A real open needs the rights ssh
and run that you grant; remote_project_open, remote_project_close and remote_backend_start
default to a dry run that only returns the plan. On the host, an agent has the agent rights of the
host project, never the window’s. The file, search, Git and run tools act on an open remote
project when they are called on its route, /mcp/<id> of the window’s MCP server.
remote_backend_callCall a tool of a Ferris IDEA backend started withremote_backend_start, e.g.remote_createCreate an empty file (kindfile, default) or a folder (kinddir) on an SSH host; refused when something of that name exists.remote_deleteDelete a file, link (never followed) or empty folder on an SSH host; a non-empty folder only withrecursive: true.remote_documentsThe open documents of a remote project (SPEC-0317, Experimental) with their revision on the backend, pending (unacknowledged) edits, modified flag, whether a recovery copy exists, whether a local version was kept and whether the host file changed under unsaved edits.remote_downloadDownload a file or folder of an SSH host into a folder of the workspace under its own name, as dropping it from the Remote Host list on a folder of the Project tree does.remote_host_addAdd a host to Ferris IDEA's own SSH host list (an OpenSSH config in the user's settings folder;~/.ssh/configis never written).remote_host_probeWhat opening a host would use, without changing anything (SPEC-0321, Experimental): the transport, the host's system and processor, and the backend build picked for it.remote_host_removeRemove a host from Ferris IDEA's own SSH host list; a host of~/.ssh/configis refused, Ferris IDEA never changes that file.remote_hostsSSH hosts: Ferris IDEA's own host list first (source"ferris-idea", changed with remote_host_add and remote_host_remove), then the hosts of~/.ssh/configand its includes (source"ssh_config", never changed by Ferris IDEA), each with theconfigfile it comes from and the user, host name and portssh -Gresolves; nothing is connected.remote_listList a folder on an SSH host (default: the home folder): resolved absolute path, then folders and files by name with a flag for symbolic links.remote_project_closeClose a remote project (SPEC-0317, Experimental).remote_project_openOpen a folder on an SSH host as a remote project (experimental): this build's backend runs on the host (found or uploaded, checked by SHA-256) and owns the documents; the session survives network breaks.remote_project_reconnectReconnect a remote project at once (SPEC-0317, Experimental): resumes the session throughferris-idea serve --attach(missed changes replayed, pending edits applied once), or when the backend is gone starts a new one and reconciles each document (followed: the host file was unchanged and the edits went to the new backend; kept: the host file changed, the window's text stays as a local version).remote_projectsThe remote projects open in this server and in Ferris IDEA's project windows (SPEC-0317, Experimental): host, folder, state (connected, reconnecting with the attempt and the time left of the host's reattach period, disconnected), round trip of a heartbeat, backend version and platform, pending edits and unsaved documents;window: truefor a project shown in a window.remote_readRead a file on an SSH host (at most 10 MiB) as UTF-8 text (invalid bytes replaced) with itsstamp(POSIX cksum), to pass toremote_writeso a change made on the host meanwhile is not overwritten.remote_renameRename or move an entry on an SSH host:tomust not exist yet and its folder must.remote_uploadUpload a file or folder of the workspace into a folder of an SSH host under its own name, as dropping it from the Project tree on the Remote Host list does.remote_writeWrite a file on an SSH host (temporary file renamed into place, mode kept).
No tool matches. Try fewer words, or .



