cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Solution to Cursor Failing to Connect to SSH Host Cursor Server Installation Issue

Open gcbellys opened this issue 7 months ago • 6 comments

When I was using Cursor for development, I reinstalled the remote-ssh plugin while installing the remote-container plugin. However, I noticed a significant difference in the SSH connection interface compared to before: previously, it was identical to the VS Code interface.
When attempting to connect to a previously used host (an Auto-DL cloud host via Remote-SSH) with Cursor, the following error appeared:

Error: Failed to install the Cursor Server. Please check the logs for more details.
    at Ir (c:\Users\11524\.cursor\extensions\anysphere.remote-ssh-1.0.4\dist\main.js:1:218850)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async c:\Users\11524\.cursor\extensions\anysphere.remote-ssh-1.0.4\dist\main.js:1:269648

After multiple attempts to resolve the issue—reinstalling Cursor, deleting configuration files, and resetting the .cursor folder on the host—the problem persisted. However, I could connect to the host using Bash without issues, ruling out SSH or network problems on the host.

Problem Resolution

Since the host was shared with a classmate for development, I asked about their Cursor version and confirmed it was the same as mine. However, when I inquired about the remote-ssh version in their Cursor, I noticed a significant difference in the plugin's interface and version display. Image I found that their remote-ssh plugin was developed by ms-vscode-remote with a version number of v0.113.1, which was vastly different from my version, v1.0.4. Image

This led me to suspect that a version conflict with the server component (already installed on the host) might be causing the issue.
Thus, I uninstalled the existing remote-ssh plugin. However, I couldn’t find the specific version of remote-ssh from ms-vscode-remote in the plugin marketplace.
So, I opted to download it via URL:

https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-vscode-remote/vsextensions/remote-ssh/0.113.1/vspackage

After downloading, I dragged the plugin into Cursor’s plugin interface and successfully installed it.
The installed plugin displayed a different icon and version, confirming it was the desired remote-ssh version.
I attempted to connect to the host again, and it worked! Image

Be sure to choose "Ignore"!!!
Upon checking the plugin, I confirmed the version was indeed the specified one!
Feel free to provide feedback or corrections. Image

gcbellys avatar Jun 04 '25 07:06 gcbellys

@gcbellys it works, thanks a lot!

ueoo avatar Jun 04 '25 07:06 ueoo

Thank you so much! This fixed my bug :)

EtashGuha avatar Jun 11 '25 01:06 EtashGuha

That worked, Thanks!

matteomekhail avatar Aug 04 '25 00:08 matteomekhail

I struggled for this issue several hours, too. Solution on my side running MacOS, was to enable "Network discovery" for Cursor via:

Settings>Privacy & Security>Local Network --> Allow Cursor.

Than everything works, using plain Cursor with latest version ov Anysphere "Remote SSH" plugin.

thoerdo avatar Nov 02 '25 10:11 thoerdo

I struggled for this issue several hours, too. Solution on my side running MacOS, was to enable "Network discovery" for Cursor via:

Settings>Privacy & Security>Local Network --> Allow Cursor.

Than everything works, using plain Cursor with latest version ov Anysphere "Remote SSH" plugin.

Saved my ass bro. This should be the right way to handle Cursor lan ssh issues.

akring avatar Nov 10 '25 07:11 akring

I struggled for this issue several hours, too. Solution on my side running MacOS, was to enable "Network discovery" for Cursor via:

Settings>Privacy & Security>Local Network --> Allow Cursor.

Than everything works, using plain Cursor with latest version ov Anysphere "Remote SSH" plugin.

This worked for me!

SimeonTu avatar Nov 13 '25 00:11 SimeonTu