Remote SSH agents fail with ERROR_EXTENSION_HOST_TIMEOUT — cursor-agent-exec is installed but never activates

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor agents no longer work in any Remote SSH workspace.

This previously worked correctly on the same Windows PC, Cursor installation, SSH account, and system.

Local Windows agents still work normally. Remote SSH itself also works: I can connect, browse and edit files, use the integrated terminal, and run Git commands.

However, every agent request in a Remote SSH window fails with:

ERROR_EXTENSION_HOST_TIMEOUT

Agent Execution Timed Out

The agent execution provider did not respond in time.
This may indicate the extension host is not running or is unresponsive.

Agent Execution Timed Out [deadline_exceeded]
ConnectError: [deadline_exceeded] Agent Execution Timed Out

This affects both:

The regular Agent inside the Cursor IDE
The separate Agents Window

Even a trivial prompt such as:

Reply only with: WORKING

fails before the agent begins processing it.

Steps to Reproduce

Open Cursor on Windows.
Connect to the Linux Cluster system through Remote SSH.
Open any remote folder, including the remote home directory.
Confirm that the terminal and file explorer work.
Start a new Agent chat.

Send:

Reply only with: WORKING
Wait for the request.

The request fails with ERROR_EXTENSION_HOST_TIMEOUT.

The same failure occurs in both the normal IDE Agent and the separate Agents Window.

Expected Behavior

The agent execution provider should activate on the Remote SSH host and allow the Agent to work inside the connected remote workspace.

This previously worked correctly in the same environment.

Actual Behavior

The Remote SSH workspace connects successfully, but the Agent execution provider never registers.

Every Agent request times out before the Agent begins processing the prompt.

Operating System

Windows 10/11

Version Information

Version: 3.12.17 (user setup)
VS Code Extension API: 1.128.0
Commit: 0fb762053c34788bb7760d5673f8a6d4c8589d50
Date: 2026-07-17T02:53:53.006Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Windows_NT x64 10.0.19045

For AI issues: which model did you use?

Auto

For AI issues: add Request ID with privacy disabled

fc14eeb5-d654-4fba-9ecd-a926ca830aed

ERROR_EXTENSION_HOST_TIMEOUT

The agent execution provider did not respond in time.
This may indicate the extension host is not running or is unresponsive.

Agent Execution Timed Out [deadline_exceeded]
ConnectError: [deadline_exceeded] Agent Execution Timed Out

Additional Information

What works:
Local Windows agents
Remote SSH connection
Remote file explorer
Remote terminal
File editing
Git operations
Direct SSH from PowerShell

What fails:
IDE Agent in every Remote SSH workspace
Agents Window connected to the Remote SSH workspace
Agent from the remote home directory
Agent from the project directory
Trivial prompts requiring no file access or command execution
Troubleshooting already performed

I have already tried all of the following:

Restarted Cursor completely.
Confirmed that no Cursor update is available.
Tested with third-party extensions disabled.
Tested multiple remote folders.
Tested the remote home directory.
Tested the project directory.
Reinstalled ~/.cursor-server from scratch.
Tested a fixed login node instead of the cluster’s load-balanced hostname.
Confirmed that Cursor was connected to the intended fixed hostname.
Confirmed that Workspace Trust was already disabled.

Set the following local User setting:

“remote.SSH.showLoginTerminal”: false
Tested both the IDE Agent and Agents Window.
Confirmed that local agents continue to work.
Reproduced the failure with Privacy Mode disabled.

None of these steps resolved the problem.

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the detailed report. The logs and repro steps really help.

This is a familiar class of issue. The remote extension host isn’t activating cursor-agent-exec, so the provider registration times out before the request ever reaches the backend. That’s why there’s nothing useful under the Request ID. It fails before the call happens. A similar issue used to be fixed by updating, but you’re already on the current stable 3.12.17, so this looks like a separate case specific to your cluster environment.

A couple things that will help narrow it down:

  1. On our side, there have been server changes over the last few days. Please do a full restart of Cursor today, fully quit the app, not just reload, then check if it still reproduces.

  2. If it still reproduces, please send the remote extension host log from the cluster:

    • path: ~/.cursor-server/data/logs/<latest date>/exthost*/ file remoteexthost.log
    • I’m looking for lines containing cursor-agent-exec, and the block around Eager extensions activated. I want to see whether cursor-agent-exec is being activated on the long-lived host for the whole session, or if it’s only git-base.

As a workaround while we investigate, the cursor-agent CLI on the remote host works independently of the extension host, so you can run the agent from there.

Let me know how it goes after the restart, and share the log, then we’ll know where to dig next.

Thanks for the response.

I fully quit Cursor, restarted the computer, reconnected, and reproduced the issue again.

I reviewed the latest remoteexthost.log. The extension host starts normally, the sandbox preflight succeeds, and the workspace lock is acquired. However, there are no lines mentioning:

  • cursor-agent-exec
  • Eager extensions activated
  • git-base

Developer: Show Running Extensions still shows cursor-socket, but cursor-agent-exec is absent.

I am not comfortable posting the unredacted cluster log publicly. So, I have attached a redacted version that preserves the relevant diagnostic content.
remoteexthost-latest-20260722-111023-redacted.txt (2.6 KB)

Does this confirm that cursor-agent-exec is not being activated on the long-lived remote extension host? Please let me know what additional diagnostic information or workaround you would recommend next.

Thanks, the log helped. Yep, it confirms the diagnosis: the remote extension host itself starts fine (startup, sandbox preflight, workspace lock are all OK), but cursor-agent-exec never activates there. That’s why you don’t see any cursor-agent-exec / Eager extensions activated / git-base lines, and why Running Extensions shows cursor-socket but not cursor-agent-exec. The provider isn’t registering under the ssh-remote authority, so the request times out before it even reaches the backend, and there’s nothing under the Request ID.

Since this reproduces after a full restart and a reboot today too, meaning after the recent server changes, it’s likely specific to your cluster environment, not a general regression. This is a familiar class of issues, I’ll report it internally with your logs. I can’t give an ETA for a fix yet.

To narrow down what’s happening on your cluster, two things would help:

  1. On the remote host, do you have the anysphere.cursor-agent-exec folder under ~/.cursor-server/extensions/? This helps tell apart extension installed but not activating vs not making it to the remote or resolving to the wrong extension kind.
  2. The log from the local window, not the remote one. I need the lines around provider registration, especially [agent-exec] Provider registration timed out (attempt X/9) and any extension activation errors.

Workaround for now: the cursor-agent CLI on the remote host works independently of the extension host, so you can run the agent from there.

Send those two items and we’ll figure out where to dig next.

Also experiencing this exact issue. Have chatted with Cursor support and they advised me to watch this thread.

Hey @Shahar_Katz,

There have been some changes in this area since your report. The latest Cursor release includes a fix for the case where the agent execution provider doesn’t start in Remote SSH windows. Can you check again? Quick check:

  1. Update Cursor to the latest version (you were on 3.12.17).
  2. Connect to the cluster via Remote SSH and open a remote folder.
  3. Start a new Agent chat and send a trivial prompt like “Reply only with: WORKING”.

Let me know if requests are still timing out. If they are, the two diagnostic items from my message above will help us dig deeper: check the anysphere.cursor-agent-exec folder under ~/.cursor-server/extensions/, and grab logs from the local window with lines around [agent-exec] Provider registration timed out (attempt X/9).

For testing: the cursor-agent CLI on the remote host works independently of the extension host, so you can run the agent from there.

cc @mgwhg

Same issues on MacBook Pro/M1 Pro with macOS 26.3.1 (a) (25D771280a) and Cursor 3.21.16.

The agent execution provider did not respond in time. This may indicate the extension host is not running or is unresponsive.

Can cursor-server on remote host be updated automatically?

Hey, thanks for the report. What you’re describing falls into the same category as this thread: the remote extension host starts, but cursor-agent-exec doesn’t register under the ssh-remote authority, so the request times out before it even reaches the backend. This is an issue we’re tracking. One thing worth calling out: you’re already on 3.21.16, which is the latest version, so this isn’t the case that was fixed by updating earlier. That’s a useful signal.

About your question on cursor-server: the server components on the remote host are automatically downloaded and kept in sync with the client version when you connect, so you don’t need to update them manually. But this symptom isn’t a version mismatch. It’s that the extension doesn’t activate on the remote extension host, so reinstalling or updating cursor-server on its own usually doesn’t fix it.

Workaround while we investigate: the cursor-agent CLI on the remote host works independently of the extension host, so you can run the agent from there.

To confirm whether your case matches exactly, and so we can pass along specifics, could you share:

  1. The Request ID for a failed request (with Privacy Mode off: top right of the chat menu > Copy Request ID).
  2. Whether the anysphere.cursor-agent-exec folder exists on the remote host under ~/.cursor-server/extensions/.
  3. What you see in Developer: Show Running Extensions on the remote side. Is cursor-agent-exec listed there next to cursor-socket?
  4. A log snippet from the local window around [agent-exec] Provider registration timed out (attempt X/9) and any extension activation errors.

Send that over and we’ll dig in. I can’t give an ETA yet.

For all remote servers connected, there is no anysphere.cursor-agent-exec folder. Yesterday, one of my servers responded for a few minutes, then it disconnected and can not be resumed.

Hey, thanks. The fact that the anysphere.cursor-agent-exec folder isn’t present on any of the connected remote hosts is a useful signal. It sets your case apart from the original one in this thread. Here, the extension doesn’t reach the remote host at all, not “it arrives but doesn’t activate”. The end symptom is the same ERROR_EXTENSION_HOST_TIMEOUT, the request times out to the backend, and it’s the same issue we’re tracking. Also noting that you’re already on 3.21.16 latest, so this isn’t the case that was fixed by updating.

To pass your specifics to the team, could you share:

  1. The Request ID for a failed request with Privacy Mode off: top right of the chat menu > Copy Request ID.
  2. What Developer: Show Running Extensions shows on the remote side. Is cursor-socket visible there, and is cursor-agent-exec definitely missing.
  3. Logs from the local window around the lines [agent-exec] Provider registration timed out (attempt X/9) and any extension activation errors.
  4. Whether the remote hosts have any outbound traffic restrictions like proxy, firewall, or no outbound internet. Since the extension folder never appears at all, I want to rule out that it simply can’t be fetched on the remote.

About “yesterday one server responded for a couple of minutes, then dropped and won’t recover”. Was that right after a fresh connection to it, or did it drop during an active session?

Workaround while we dig in: the cursor-agent CLI on the remote host works independently of the extension host, so you can run the agent from there.

Send that over and we’ll dig deeper. I can’t share an ETA yet.

Cursor connection resumed today. But the anysphere.cursor-agent-exec folder still dose not appear.

Hey, thanks for the update. The fact that the anysphere.cursor-agent-exec folder doesn’t show up on the remote hosts even after reconnecting is a useful signal. It looks like the extension isn’t reaching the remote at all, not that it reaches it but doesn’t activate.

The key question that will clarify everything is whether the remote hosts have outbound traffic restrictions like a proxy, firewall, or no outbound internet. Some components are downloaded from the remote side, and if it has no egress, that would explain both the missing folder and the timeouts.

You’re already on 3.21.16, and newer versions include a user setting called cursorAgentHost.remoteInferenceRoute. If the remote host can’t reach Cursor servers, set it to always in user settings or in the settings for that specific remote, then run Reload Window. That will route the agent traffic through your local machine. It’s worth trying right now, it might unblock things.

To share your specific case with the team, this would still help:

  1. The Request ID from the failed request. Privacy Mode off: top right of the chat menu > Copy Request ID.
  2. What Developer: Show Running Extensions shows on the remote side. Do you see cursor-socket there, and is cursor-agent-exec definitely missing.
  3. The log from the local window around lines like [agent-exec] Provider registration timed out (attempt X/9) and any extension activation errors.

Also about yesterday when one server responded for a couple minutes, then dropped and doesn’t recover. Did that happen right after a fresh connection to it, or during an active session?

Workaround while we dig in: the cursor-agent CLI on the remote host works independently of the extension host, so you can run the agent from there.

Let me know how it goes with remoteInferenceRoute.