As described in previous bugs, I have been facing issues with remote SSH connection.
Tried upgrading to anysphere SSH, but the same issue persists. The integrated terminal hangs after a minute. Unsure on how to proceed, as I am unable to use cursor at all. Have tried stopping code indexing, killing the running cursor servers (fork bombing issue), deleted old chats, but nothing works.
In vscode, it works perfectly fine. Switching to vs till this issue gets resolved.
Steps to Reproduce
setup remote SSH with any server.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Also, could you try running htop on your remote system when connected over SSH via Cursor? Would be helpful to know if the CPU or memory is getting pegged.
It looks like there are a bunch of zombie processes. Could you try running killall node in your remote machine?
In addition, I’d recommend switch to the Anysphere Remote SSH extension – I’ve run into a similar issue where the VScode one can leave behind zombie processes.
From the screenshot, it looks like some processes from the VSCode extension are still running. That extension installs into ~/.cursor-server/cli/server/Stable-XXXX (the Anysphere extension installs into a different directory).
Could you try rebooting the remote server to forcefully kill the processes? It looks like they are consuming significant CPU & RAM which would cause the server to hang and make Cursor unresponsive.
that is because I have started to use vscode instead of cursor. I can assure atleast this isn’t the blocker for cursor and the VM is extremely large (a few weeks ago, 50+ people where using this as login node and cursor was working absolutely fine).
Another thing to check would be to see if any extensions are causing Cursor to hang. You can use the extension bisect tool to try to pinpoint what might be problematic. To access it, open the command palette (cmd/ctrl-shift-p) and then select “Help: Start Extension Bisect”
How does this manifest? Does it prompt you to reload the window, or does it hang? (And if it hangs, is it the entire window, or just terminal / file operations?)
In addition, could you share the logs from the “Remote - SSH” output window.
Thanks!
Hi @aashay96, took a look at the logs and don’t see anything that indicates why the connections keep on dropping. It is suspicious of the (nearly) 5 minute timeout between connections #1 and #2; the server has a 5 minute timeout where it will disconnect on inactivity.
Which version of the SSH extension are you on? I’d recommend upgrading to the latest (which is currently 1.0.13). There was a bug with timeouts in version 1.0.6 that was since fixed.
Could you run the “Generate Connection Report” command and share the output for that? Please make sure to redact any sensitive info before sharing.
I am already on the latest version (auto-updated yesterday). If possible could we do a debug session with the support team, this is right now a team wide problem.
Hi @UnluckyForSome, could you confirm when extension, and which version, that you’re on?
We’ve seen the endless node processes with the VSCode SSH extension. Wondering if you’ve tried the Anysphere one? In addition, it’d be helpful if you could share the logs from the “Remote - SSH” output so I can take a look at what might be happening. Thanks!