Cursor Crashing whenever connected to SSH

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Whenever I connect via SSH to work and then use the coding agent/code for a bit, the IDE eventually crashes. The only way for me to reuse the cursor after this point is to force-quit, restart the computer, and then use it again. Force-quitting and reopening doesn’t work because it gets stuck on the opening phase. Any tips on what I can do? I tried reinstalling the latest version of cursor. I am using it on a Mac.

Steps to Reproduce

Connect to SSH. Use coding agent.

Expected Behavior

It should work normally and not crash.

Operating System

MacOS

Version Information

Version 2.5

For AI issues: which model did you use?

Any models

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. SSH + agent crashes, we’ve seen similar reports from other users.

To dig in, we’ll need a bit more info:

  • The full Cursor version (Help > About, copy everything)
  • What OS is on the remote server?
  • What extensions do you have installed? (especially Remote SSH, Anysphere or Microsoft)
  • Rough project or folder size

In the meantime, try this:

If Cursor gets stuck and won’t open after a force quit:

On Mac, delete the corrupted state:

rm -rf ~/Library/Application\ Support/Cursor/User/workspaceStorage

(This will remove chat history for all projects. If you want to keep it, back up the folder first.)

To isolate the issue:

  • Start Cursor with cursor --disable-extensions
  • Connect over SSH and use the agent for a bit
  • If it doesn’t crash, it’s likely an extension. Turn them back on one by one to find which one is causing it

Let me know how it goes.

I have remote SSH installed, but I don’t use it. The folder is not too big, around 1-2 gb. The remote server is in Linux.

The command cursor --disable-extensions doesn’t seem to work.

I get this:

cursor --disable-extensions

zsh: command not found: cursor

It generally crashes mid agent running.

Also running the command to remove the agent logs and try reopening, doesn’t work. I am still not able to reopen it until I restart my computer.

A couple of things:

CLI not found: that’s normal, you need to install it separately. Open the Command Palette Cmd + Shift + P and type Install 'cursor' command. After that, cursor will be available in the terminal.

But you can do it without the CLI too. To run without extensions, open Cursor, then right away open the Command Palette Cmd + Shift + P and run Extensions: Disable All Installed Extensions. Then connect over SSH and try working. See if it still crashes.

By the way, you said Remote SSH is installed but you’re not using it. How are you connecting over SSH then? Through the built-in terminal?

Also, I’ll need:

  1. The full Cursor version: Help > About, copy everything.
  2. Before the next crash, open Help > Toggle Developer Tools, go to the Console tab. After it crashes, send what shows up there (if you have time).

And when Cursor gets stuck after a force quit, try killing all Cursor processes in Activity Monitor (find every process named “Cursor” and force quit them). You might not need to reboot your computer.

Let me know how it goes.

This is the full version:

Version: 2.5.17
VSCode Version: 1.105.1
Commit: 7b98dcb824ea96c9c62362a5e80dbf0d1aae4770
Date: 2026-02-17T05:58:33.110Z (5 days ago)
Build Type: Stable
Release Track: Default
Electron: 39.3.0
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

Right now, I just switched to using the CLI tool, and nothing is crashing, so I will just use that for now at least. I just use the Connect via SSH button when I open the cursor; I don’t use the Remote SSH extension.

1 Like