Remote SSH disconnects and cannot reconnect to EC2 instance

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I connect to an EC2 instance via the AnySphere Remote Explorer Extension and recently, whenever I get disconnected, the extension is unable to reconnect.

I used to have the ms-vscode-remoteexplorer extension instead and that had a “Kill server on remote” type action that would let me reconnect after killing the server. Now that I switched to Anysphere that option isn’t possible.

I also lose my progress on any files I’m working on. This started today, but I had been using these extensions successfully before today.

Steps to Reproduce

Connect to an instance via Remote Explorer.
Lose connection
Attempt to reconnect to that instance

Expected Behavior

I can reconnect to the EC2 instance

Screenshots / Screen Recordings

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.11 (Universal)
VSCode Version: 1.99.3
Commit: 2f2737de9aa376933d975ae30290447c910fdf40
Date: 2025-09-05T03:48:32.332Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.2.0

Does this stop you from using Cursor

Yes - Cursor is unusable

Update: I was able to ssh from the terminal and grep the processes for anything with “cursor-server”

After killing those processes, I am able to connect to the instance again.

This is a workaround, but I wouldn’t consider this reasonable, since there are often dozens of these…

It seems that having an existing server is what breaks the reconnection attempt

hi @NoopDawg could you try this with 1.6 that is rolling out now?

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