404 Not Found when using an ssh remote

My Vscode setup, which I’m trying to migrate to Cursor, is as follows: I run vscode on my MacBook Pro and connect to a vscode workspace on a Linux server over ssh (Devuan Daedalus). This works fine with Vscode but fails with Cursor. Here is the log of the ssh connection attempt, showing that Cursor is unable to install its server component on the Linux machine due to a 404 Not Found.

This is a blocking issue. I cannot user cursor at present.

[12:08:59.662] Log Level: 2
[12:08:59.675] SSH Resolver called for “ssh-remote+complex”, attempt 1
[12:08:59.675] “remote.SSH.useLocalServer”: true
[12:08:59.676] “remote.SSH.useExecServer”: false
[12:08:59.676] “remote.SSH.path”: undefined
[12:08:59.676] “remote.SSH.configFile”: /Users/alex/.ssh/config
[12:08:59.676] “remote.SSH.useFlock”: true
[12:08:59.676] “remote.SSH.lockfilesInTmp”: false
[12:08:59.676] “remote.SSH.localServerDownload”: auto
[12:08:59.676] “remote.SSH.remoteServerListenOnSocket”: false
[12:08:59.676] “remote.SSH.showLoginTerminal”: false
[12:08:59.676] “remote.SSH.defaultExtensions”:
[12:08:59.676] “remote.SSH.loglevel”: 2
[12:08:59.676] “remote.SSH.enableDynamicForwarding”: true
[12:08:59.676] “remote.SSH.enableRemoteCommand”: false
[12:08:59.676] “remote.SSH.serverPickPortsFromRange”: {}
[12:08:59.676] “remote.SSH.serverInstallPath”: {}
[12:08:59.680] VS Code version: 0.45.11
[12:08:59.681] Remote-SSH version: remote-ssh@0.107.1
[12:08:59.681] darwin arm64
[12:08:59.684] SSH Resolver called for host: complex
[12:08:59.684] Setting up SSH remote “complex”
[12:08:59.686] Acquiring local install lock: /var/folders/yv/v_v6t2lj1nz4ypl2bpp_ytqm0000gp/T/vscode-remote-ssh-8a2c68b7-install.lock
[12:08:59.688] Looking for existing server data file at /Users/alex/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-8a2c68b7-f5f18731406b73244e0558ee7716d77c8096d150-0.107.1-tr/data.json
[12:08:59.688] Using commit id “f5f18731406b73244e0558ee7716d77c8096d150” and quality “stable” for server
[12:08:59.690] Install and start server if needed
[12:08:59.693] PATH: /Users/alex/miniconda3/bin:/Users/alex/miniconda3/condabin:/opt/homebrew/opt/llvm/bin:/Users/alex/.opam/default/bin:/opt/homebrew/bin:/Users/alex/.opam/default/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Applications/Little Snitch.app/Contents/Components:/Applications/Keybase.app/Contents/SharedSupport/bin:/opt/X11/bin:/opt/homebrew/sbin:/Users/alex/bin:/Users/alex/go/bin
[12:08:59.693] Checking ssh with “ssh -V”
[12:08:59.697] > OpenSSH_8.6p1, LibreSSL 3.3.6
[12:08:59.698] Using SSH config file “/Users/alex/.ssh/config”
[12:08:59.699] askpass server listening on /var/folders/yv/v_v6t2lj1nz4ypl2bpp_ytqm0000gp/T/vscode-ssh-askpass-addca859116ed1090845f426d0dfa0aae60f0697.sock
[12:08:59.699] Spawning local server with {“serverId”:1,“ipcHandlePath”:“/var/folders/yv/v_v6t2lj1nz4ypl2bpp_ytqm0000gp/T/vscode-ssh-askpass-c112da64fe721166c25803f78cb44f8a4d91c030.sock”,“sshCommand”:“ssh”,“sshArgs”:[“-v”,“-T”,“-D”,“58640”,“-o”,“ConnectTimeout=15”,“-F”,“/Users/alex/.ssh/config”,“complex”],“serverDataFolderName”:“.cursor-server”,“dataFilePath”:“/Users/alex/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-8a2c68b7-f5f18731406b73244e0558ee7716d77c8096d150-0.107.1-tr/data.json”}
[12:08:59.699] Local server env: {“SSH_AUTH_SOCK”:“/private/tmp/com.apple.launchd.ULZ6z9qjI4/Listeners”,“SHELL”:“/opt/homebrew/bin/bash”,“DISPLAY”:“/private/tmp/com.apple.launchd.xAjMlvk3ux/org.xquartz:0”,“ELECTRON_RUN_AS_NODE”:“1”,“SSH_ASKPASS”:“/Users/alex/.cursor/extensions/ms-vscode-remote.remote-ssh-0.107.1/out/local-server/askpass.sh”,“VSCODE_SSH_ASKPASS_NODE”:“/Applications/Cursor.app/Contents/Frameworks/Cursor Helper (Plugin).app/Contents/MacOS/Cursor Helper (Plugin)”,“VSCODE_SSH_ASKPASS_EXTRA_ARGS”:“–ms-enable-electron-run-as-node”,“VSCODE_SSH_ASKPASS_MAIN”:“/Users/alex/.cursor/extensions/ms-vscode-remote.remote-ssh-0.107.1/out/askpass-main.js”,“VSCODE_SSH_ASKPASS_HANDLE”:“/var/folders/yv/v_v6t2lj1nz4ypl2bpp_ytqm0000gp/T/vscode-ssh-askpass-addca859116ed1090845f426d0dfa0aae60f0697.sock”}
[12:08:59.700] Spawned 2952
[12:08:59.784] > local-server-1> Running ssh connection command: “-v -T -D 58640 -o ConnectTimeout=15 -F /Users/alex/.ssh/config complex”
[12:08:59.786] > local-server-1> Spawned ssh, pid=2960
[12:08:59.793] stderr> OpenSSH_8.6p1, LibreSSL 3.3.6
[12:08:59.850] stderr> debug1: Server host key: ssh-ed25519 SHA256:HBf9g22M+my1tbnFHrp9Q2iBs86cu5rq+wFQlJMqekE
[12:08:59.931] stderr> Authenticated to complex ([192.168.1.102]:22).
[12:08:59.981] > Linux complex 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64

The programs included with the Devuan GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Devuan GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
[12:08:59.989] > ready: 6f4292525494
[12:08:59.995] > Linux 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22)
[12:08:59.995] Platform: linux
[12:08:59.998] > /bin/bash
[12:08:59.999] Shell: bash
[12:08:59.999] Creating bash subshell inside “bash”
[12:09:00.004] > bash version: 5.2.15(1)-release
[12:09:00.021] > 6f4292525494: running
[12:09:00.031] > Warning: Can’t find libstdc++.so or ldconfig, can’t verify libstdc++ version
[12:09:00.037] > Acquiring lock on /home/alex/.cursor-server/bin/f5f18731406b73244e0558ee7716d77c8096d150/vscode-remote-lock.alex.f5f18731406b73244e0558ee7716d77c8096d150
[12:09:00.041] > Installing to /home/alex/.cursor-server/bin/f5f18731406b73244e0558ee7716d77c8096d150…
[12:09:00.046] > 6f4292525494%%1%%
[12:09:00.050] > Downloading with wget
[12:09:00.441] > wget download failed
> https://update.code.visualstudio.com/commit:f5f18731406b73244e0558ee7716d77c8096d150/server-linux-x64/stable: 2025-02-13 12:09:00 ERROR 404: Not Found.
printenv:
[12:09:00.443] > SHELL=/bin/bash
GPG_TTY=not a tty
PWD=/home/alex/.cursor-server/bin/f5f18731406b73244e0558ee7716d77c8096d150
LOGNAME=alex
XDG_SESSION_TYPE=tty
MOTD_SHOWN=pam
HOME=/home/alex
LANG=en_US.UTF-8
VSCODE_AGENT_FOLDER=/home/alex/.cursor-server
SSH_CONNECTION=192.168.1.12 58641 192.168.1.102 22
XDG_SESSION_CLASS=user
USER=alex
SHLVL=2
XDG_SESSION_ID=1331
XDG_RUNTIME_DIR=/run/user/1000
SSH_CLIENT=192.168.1.12 58641 22
PATH=/home/alex/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/alex/bin:/home/alex/go/bin
_=/usr/bin/printenv
OLDPWD=/home/alex
Trigger local server download
6f4292525494:trigger_server_download
artifact==server-linux-x64==
destFolder==/home/alex/.cursor-server/bin/==
destFolder2==/f5f18731406b73244e0558ee7716d77c8096d150/vscode-server.tar.gz==
6f4292525494:trigger_server_download_end
Waiting for client to transfer server archive…
Waiting for /home/alex/.cursor-server/bin/f5f18731406b73244e0558ee7716d77c8096d150/vscode-server.tar.gz.done and vscode-server.tar.gz to exist

[12:09:00.444] Got request to download on client for {“artifact”:“server-linux-x64”,“destPath”:“/home/alex/.cursor-server/bin//f5f18731406b73244e0558ee7716d77c8096d150/vscode-server.tar.gz”}
[12:09:00.444] Downloading VS Code server locally…
[12:09:00.667] Terminating local server
[12:09:00.668] Resolver error: Error: Server returned 404
at BI (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:667:62034)
at BWt.download (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2924:30901)
[12:09:00.675] ------

Looks like you’re hitting a known issue with the Remote-SSH extension version. You’ll need to:

  1. Uninstall your current Remote-SSH extension
  2. Install version 0.113 of Remote-SSH from the Cursor marketplace
  3. Close any VS Code windows with active SSH connections
  4. Restart Cursor completely
  5. Try connecting again

This should resolve the 404 error you’re seeing. Let me know if you still have issues after trying these steps

Check out our docs on SSH issues here: Cursor – Common Issues