Remote SSH Agent Connection Error on HPC – Cursor 3.32.10

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I am experiencing persistent Agent connection errors when using Cursor with Remote SSH on the RIS HPC cluster.
Local Cursor Chat works normally. Remote SSH, file access, and terminal operations also work normally. However, the Agent in the Remote SSH window gets stuck on “Planning next moves” and eventually returns a Connection Error, even for a simple “Hello” prompt.

Environment

  • Cursor version: 3.32.10
  • Local OS: macOS (ARM64)
  • Remote OS: RHEL 9.6
  • Remote SSH extension: 1.1.19
  • Remote filesystem: Network-mounted home directory

Additional questions

Is this related to a known Remote SSH Agent Host compatibility issue on HPC clusters?
Would downgrading Cursor resolve the issue? If so, which version would you recommend?
Alternatively, is it possible to restore the previous local-client Agent architecture for my account?
This issue is currently blocking my research workflow. Any assistance would be appreciated.

Steps to Reproduce

  1. Connect to the HPC server using Remote SSH.
  2. Open a new Agent chat.
  3. Send a simple prompt, such as “Hello”.
  4. The Agent gets stuck and eventually returns a Connection Error.

Troubleshooting already performed

  • Verified DNS and HTTPS connectivity on both local and remote machines.
  • Tested HTTP/1.1 and HTTP/2.
  • Tested multiple AI models.
  • Reinstalled the remote Cursor Server.
  • Set cursorAgentHost.remoteInferenceRoute to always.
  • Optimized Bash initialization from 15–24 seconds to approximately 4 seconds.
  • Increased shell environment resolution timeout to 60 seconds.
  • Restarted the Extension Host and reloaded the window.
  • Tested a new chat in an empty workspace.

None of these steps resolved the issue.

Expected Behavior

The Agent should respond normally and be able to execute commands and modify files on the remote server.

Operating System

MacOS

Version Information

Version: 3.32.10
VS Code Extension API: 1.147.0
Commit: 0d3b96e46ce65af82ed74bc6f14883b33e1a0590
Date: 2026-11-26T05:52:13.242Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 43.8.9
Chromium: 150.0.7871.250
Node.js: 24.22.1
V8: 15.0.245.31-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 23.6.0

For AI issues: which model did you use?

Fable 5.2

For AI issues: add Request ID with privacy disabled

Request IDs

  • 2c6c72e2-432b-4134-8213-73194462a12e
  • 5cbf3a92-6e28-4fa0-83e6-3a913e01c501

Additional Information

The cursor-agent-host and cursor-agent-exec extensions are installed but do not appear in Running Extensions. The Cursor Agent Host output channel is also missing.

Does this stop you from using Cursor

Yes - Cursor is unusable

Hi @Dandan_Fan, yes, this is a known issue on Remote SSH hosts where the home directory is on a network filesystem, and I’ve added your report to it. It isn’t your network. In a Remote SSH window the agent runs inside the Cursor server on the cluster. The usual cause is that this side takes longer to start than the minute the window waits for it, and after that it’s never picked up. That’s why the two agent extensions don’t show as running and every prompt ends in a Connection Error. cursorAgentHost.remoteInferenceRoute is read by that same component, so it can’t help here.

A change that gives the remote side more time to start has landed and will be in an upcoming version (3.33)

Downgrading won’t help: from what we can see, this was already happening for you on 3.31.15 before you updated to 3.32.10.

To see where the startup time goes on your host, could you attach the newest folder under ~/.cursor-server/data/logs on the cluster after a failed attempt?

cursor_logs_20261129T002857.zip (12.5 KB)

Thanks for confirming the issue!

I’ve attached the latest remote Cursor Server logs collected after a failed Agent request.

Is there any temporary workaround before 3.33 is released? Is there a pre-release build of 3.33 that I could try?

Hi @Dandan_Fan, the logs show where the time goes. On your cluster the remote side does start, but it took between 2 and 8 minutes after connecting each time, and on 3.32 the window stops waiting after 1 minute. Your shell startup isn’t the cause, it only adds about 10 seconds once.

There isn’t a pre-release build of 3.33 available to try yet. 3.33 raises the wait to 3 minutes, which may still be short for the slower starts in your logs, so it’s worth making the start itself faster. Right now the Cursor server is loaded from your network-mounted home. Running it from the node’s local disk is the thing to try:

  1. Close the Remote SSH window in Cursor.
  2. SSH to the cluster from a normal terminal and run pkill -u "$USER" -f .cursor-server
  3. Run mv ~/.cursor-server ~/.cursor-server.bak
  4. Run mkdir -p /tmp/$USER/cursor-server && ln -s /tmp/$USER/cursor-server ~/.cursor-server (use the cluster’s local scratch instead of /tmp if you have one).
  5. Reconnect to the same node from Cursor, wait for the window to finish loading, then send “Hello” in a new Agent chat.

This only holds while you land on the same node, and remote-side settings and extensions are installed again. Your project files aren’t touched. To undo it, run rm ~/.cursor-server && mv ~/.cursor-server.bak ~/.cursor-server.

If it still fails from local disk, the same log folder from that attempt would tell us how long the start took there.