# Cursor remote SSH issue

**URL:** <https://forum.cursor.com/t/cursor-remote-ssh-issue/103955>\
**Category:** Bug Reports\
**Created:** [June 15, 2025, 6:44am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955 "2025-06-15T06:44:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![aashay96](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aashay96/32/63772_2.png) [@aashay96](https://forum.cursor.com/u/aashay96)\
**Post date:** [June 15, 2025, 6:44am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/1 "2025-06-15T06:44:45Z")

</div>

### Describe the Bug

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)

Version: 1.1.2 (Universal)  
VSCode Version: 1.96.2  
Commit: 87ea1604be1f602f173c5fb67582e647fcef6c40  
Date: 2025-06-13T00:26:52.696Z (2 days ago)  
Electron: 34.5.1  
Chromium: 132.0.6834.210  
Node.js: 20.19.0  
V8: 13.2.152.41-electron.0  
OS: Darwin arm64 24.5.0

### Does this stop you from using Cursor

Yes - Cursor is unusable

---

<div class="post-metadata">

**Author:** ![ravirahman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ravirahman/32/20386_2.png) [@ravirahman](https://forum.cursor.com/u/ravirahman)\
**Post date:** [June 15, 2025, 6:51am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/3 "2025-06-15T06:51:05Z")

</div>

Hi @aashay96, could you share the output from this command?

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/8/5/85c7f54180487da610ed0fbea4463c3676316579.png)

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.

---

<div class="post-metadata">

**Author:** ![aashay96](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aashay96/32/63772_2.png) [@aashay96](https://forum.cursor.com/u/aashay96)\
**Post date:** [June 15, 2025, 7:00am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/4 "2025-06-15T07:00:33Z")

</div>

This is how HTOP looks -

 ![Screenshot 2025-06-14 at 11.29.56 PM](https://us1.discourse-cdn.com/cursor1/original/3X/f/e/fe6a8071d47d5d5fb14705bd84909f787467862b.jpeg)

Roundtrip latency: 1.050ms  
Up: 9638.6 Mbps  
Down: 5633.8 Mbps

Our team is currently struggling to use cursor due to this issue.

---

<div class="post-metadata">

**Author:** ![ravirahman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ravirahman/32/20386_2.png) [@ravirahman](https://forum.cursor.com/u/ravirahman)\
**Post date:** [June 15, 2025, 7:18am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/8 "2025-06-15T07:18:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![aashay96](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aashay96/32/63772_2.png) [@aashay96](https://forum.cursor.com/u/aashay96)\
**Post date:** [June 15, 2025, 7:24am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/9 "2025-06-15T07:24:01Z")

</div>

I have tried deleting these processes. As soon as I connect with cursor, they respawn.

I am already using anysphere remote ssh extension as mentioned earlier.

---

<div class="post-metadata">

**Author:** ![aashay96](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aashay96/32/63772_2.png) [@aashay96](https://forum.cursor.com/u/aashay96)\
**Post date:** [June 15, 2025, 7:34am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/11 "2025-06-15T07:34:45Z")

</div>

@ravirahman Anything else that can be tried?

---

<div class="post-metadata">

**Author:** ![ravirahman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ravirahman/32/20386_2.png) [@ravirahman](https://forum.cursor.com/u/ravirahman)\
**Post date:** [June 15, 2025, 8:29am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/13 "2025-06-15T08:29:33Z")

</div>

Hi @aashay96,

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.

---

<div class="post-metadata">

**Author:** ![aashay96](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aashay96/32/63772_2.png) [@aashay96](https://forum.cursor.com/u/aashay96)\
**Post date:** [June 15, 2025, 8:31am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/14 "2025-06-15T08:31:31Z")

</div>

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).

This is a cursor SSH issue.

---

<div class="post-metadata">

**Author:** ![aashay96](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aashay96/32/63772_2.png) [@aashay96](https://forum.cursor.com/u/aashay96)\
**Post date:** [June 15, 2025, 8:38am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/16 "2025-06-15T08:38:55Z")

</div>

> [@ravirahman](#):
>
> 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.

I have killed all cursor processes - retried, but the issue persists.

 ![Screenshot 2025-06-15 at 2.08.18 PM](https://us1.discourse-cdn.com/cursor1/original/3X/d/0/d0e17c31f17284d0d9f40f746adc29a3ec4f3b41.jpeg)

---

<div class="post-metadata">

**Author:** ![ravirahman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ravirahman/32/20386_2.png) [@ravirahman](https://forum.cursor.com/u/ravirahman)\
**Post date:** [June 15, 2025, 8:46am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/18 "2025-06-15T08:46:13Z")

</div>

Hi @aashay96, processes marked with ‘D’ are in an uninterruptible sleep state. In this state, they will not respond to `killall` ([https://stackoverflow.com/questions/767551/how-to-stop-uninterruptible-process-on-linux](https://stackoverflow.com/questions/767551/how-to-stop-uninterruptible-process-on-linux)). Even after switching to the Anysphere extension, these processes would be left behind by the VSCode one. I think killing them would require a hard reboot.

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”

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/f/0/f09b4fe83eeb0c11ce5be9688eaf6e3020420bec.png)

---

<div class="post-metadata">

**Author:** ![aashay96](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aashay96/32/63772_2.png) [@aashay96](https://forum.cursor.com/u/aashay96)\
**Post date:** [June 15, 2025, 9:33am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/19 "2025-06-15T09:33:26Z")

</div>

I have created another VM. Same issue persists.

---

<div class="post-metadata">

**Author:** ![aashay96](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aashay96/32/63772_2.png) [@aashay96](https://forum.cursor.com/u/aashay96)\
**Post date:** [June 15, 2025, 10:12am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/21 "2025-06-15T10:12:02Z")

</div>

@ravirahman Retried the whole setup - new node, reinstalled the anysphere SSH. The connection still drops after a minute.

---

<div class="post-metadata">

**Author:** ![aashay96](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aashay96/32/63772_2.png) [@aashay96](https://forum.cursor.com/u/aashay96)\
**Post date:** [June 15, 2025, 5:38pm UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/23 "2025-06-15T17:38:11Z")

</div>

@ravirahman Could you please help? I want to get back to using cursor, but it isn’t working.

---

<div class="post-metadata">

**Author:** ![ravirahman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ravirahman/32/20386_2.png) [@ravirahman](https://forum.cursor.com/u/ravirahman)\
**Post date:** [June 15, 2025, 10:25pm UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/25 "2025-06-15T22:25:20Z")

</div>

Hi @aashay96, were you able to try the extension bisect, or did it crash before that was able to complete?

Another thing to check is the Extension Host Latency – theme’s a “Measure Extension Host Latency” command in the command palette.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/2/e/2ef3b083f781bcc41c6d28b2643a3ae5be0c4d11.png)

Re:

> The connection still drops after a minute.

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!

---

<div class="post-metadata">

**Author:** ![aashay96](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aashay96/32/63772_2.png) [@aashay96](https://forum.cursor.com/u/aashay96)\
**Post date:** [June 16, 2025, 6:02pm UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/28 "2025-06-16T18:02:03Z")

</div>

@ravirahman can you check? Still stuck on this.

---

<div class="post-metadata">

**Author:** ![ravirahman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ravirahman/32/20386_2.png) [@ravirahman](https://forum.cursor.com/u/ravirahman)\
**Post date:** [June 17, 2025, 2:23am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/30 "2025-06-17T02:23:50Z")

</div>

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.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/b/a/bae7158cb919ad419b70b269183ea9fe68725144.png)

---

<div class="post-metadata">

**Author:** ![aashay96](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aashay96/32/63772_2.png) [@aashay96](https://forum.cursor.com/u/aashay96)\
**Post date:** [June 17, 2025, 7:28am UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/31 "2025-06-17T07:28:15Z")

</div>

> [@ravirahman](#):
>
> cmd

Here is the log.  
[logs\_ssh.txt](https://forum.cursor.com/uploads/short-url/qXV6JMpUmZifdIlzSQ29L9iiJdg.txt) (11.7 KB)

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.

---

<div class="post-metadata">

**Author:** ![UnluckyForSome](https://avatars.discourse-cdn.com/v4/letter/u/eada6e/32.png) [@UnluckyForSome](https://forum.cursor.com/u/UnluckyForSome)\
**Post date:** [June 17, 2025, 5:37pm UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/33 "2025-06-17T17:37:53Z")

</div>

I’ve been waiting to see other reports of this. Cursor spawns endless node processes until the host runs out of memory and crashes. Any fix yet?

---

<div class="post-metadata">

**Author:** ![ravirahman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ravirahman/32/20386_2.png) [@ravirahman](https://forum.cursor.com/u/ravirahman)\
**Post date:** [June 17, 2025, 8:01pm UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/35 "2025-06-17T20:01:45Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [July 17, 2025, 8:02pm UTC](https://forum.cursor.com/t/cursor-remote-ssh-issue/103955/36 "2025-07-17T20:02:19Z")

</div>

Closed on July 17, 2025, 8:02pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
