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