Frequent SSH connection failures

Describe the Bug

I’m experiencing frequent SSH connection failures when using remote-SSH extension. The session will suddenly disconnect, and attempting to reconnect just hangs on “Opening Remote.”

Steps to Reproduce

So far I’ve tried:

Reinstalling the Cursor application
Deleting and re-adding the host entry in my SSH config
Both of these steps temporarily restore connectivity, but after a short time the same disconnection/“Opening Remote” hang reoccurs.

SSH works reliably from my native terminal and other IDEs, so this appears to be specific to Cursor. Could you help me troubleshoot or resolve this? Thanks!

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.6 (Universal)
VSCode Version: 1.96.2
Commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
Date: 2025-06-25T02:16:57.571Z
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.0.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @CSH-1220,

If you’re on the VSCode Remote SSH extension, could you try switching to the Anysphere one? Attaching a screenshot.

Could you also fully remove the SSH extension on your machine by running rm -rf ~/.cursor/extensions/anysphere.remote-ssh* and then reinstall it?

If this doesn’t work, could you share the logs from the “Remote - SSH” output window so we can take a closer look?

image

Thanks!

Can confirm anysphere extension works over ms one. I have been having ssh issues on and off for over a year with cursor now. Is ms actively sabotaging the ssh extension or is this an inherent problem with forking?