Docs
Cursor
Cursor connects to an Occlude session with its own Remote SSH extension. Its agent, Tab and chat work on the task's files, and the files outside the task do not exist for them.
Before you start
- Cursor, with its Remote SSH extension.
- OpenSSH on your machine, and an
ed25519key. - A session you have been granted.
Connect
- 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.
- Add the `Host` block Occlude gives you to
~/.ssh/config. It is the same block as on the VS Code page. - Open the host. Connect to
occlude-<session>from the Remote SSH menu and open the workspace folder.
The workspace has no route to the internet. Cursor's documentation says that if the remote host cannot reach its download hosts, "Cursor downloads the server on your machine and copies it over SSH", and to do that every time, set remote.SSH.localServerDownload to always in your settings:
{
"remote.SSH.localServerDownload": "always"
}What Cursor's agent can read
Everything Cursor reads, it reads from the workspace: its file tool, its search and the terminal it runs commands in. An Occluded file answers No such file or directory to all three, and each attempt is on the record.
That is the difference from .cursorignore. Cursor's own documentation says "the terminal and MCP server tools used by Agent cannot block access to code governed by .cursorignore", and that "complete protection isn't guaranteed due to LLM unpredictability." Inside Occlude the file is not there to block.
What Cursor sends
Cursor runs its AI features on your machine. Its network documentation says: "AI requests go from your local machine to Cursor's servers, not from the remote host." Its data-use page says requests go through Cursor's backend even with your own API key. So the files you can read, and the ones the agent opens, can reach Cursor and its model providers, under Cursor's terms.
- Require Privacy Mode for everyone you grant. Cursor states it is "on by default for Enterprise teams".
- Occlude limits what Cursor can read. It does not change what Cursor does with what it reads.
See Where your code goes.
Cursor's agent over MCP instead
To give Cursor's agent a session without opening the workspace as a folder, connect it over MCP. See Agents over MCP.
Something not working
See Troubleshooting.
Sources
Vendor pages, last read on 28 November 2026. Each vendor's behaviour can change; their page is the authority.