I am trying to use Cursor to connect VM, but I received the following error. However, I can connect VM via VS Code with the same config. Anyone knows how to fix it?
I encounter the same problem every time I attempt an SSH connection.
Hi @stephengineer,
I am afraid we don’t support SSHing into Mac or Windows machines currently.
I am sorry for the trouble.
Cheers,
Petros
Hi @petros,
Thank you for your response. However, my SSH host is a Linux machine, not Mac or Windows. I’m still experiencing issues when trying to connect. Could you provide further assistance?
Oh I see, yes, a Linux host should work. Are you on the latest version of Cursor? What’s your OS?
Also had this exact error just now after installing and trying Cursor for the first time, with all VSCode extensions automatically ported. Reloading the extension solved my problem, in case that’s useful.
Hey Petros,
I am visiting a Linux VM via my Macbook with Cursor Version: 0.42.3.
[Error - 01:45:42.210] Error resolving authority
Error: Couldn't install vscode server on remote server, install script returned non-zero exit status
at t.installCodeServer (/Users/stephen/.cursor/extensions/jeanp413.open-remote-ssh-0.0.46-universal/out/extension.js:1:442023)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /Users/stephen/.cursor/extensions/jeanp413.open-remote-ssh-0.0.46-universal/out/extension.js:1:404941
I installed extension: Open Remote - SSHv0.0.46
If I install Remote-SSH, I will get the error I posted initially.
I wanted to let you know that reloading the extension resolved my issue as well. Additionally, I recently installed Cursor for the first time, and the Remote SSH extension was automatically imported.
Thank you for the additional details @stephengineer. I have looked around for prior art, and I see that some folks could clear that specific error by removing the .cursor-server
folder on their remote machine/VM. Could you try that (assuming there is such a folder)?
hi folks, what does reloading the extension mean?
I tried disable/enable the extension in cursor, but still same issue.
Thanks!
@qlquanle @NovaPulse