I see topics have been opened on this in the past, but they are from 2023 and still not resolved. Is supporting SSH editing a goal that Cursor has still?
I use VS Code “Remote - SSH” daily but the same workflow does not work in cursor. I remote from a M1 mac machine to another M1 mac. On cursor I am getting the error “Failed to download VS Code Server (Server returned 404)”
I am using Cursor version 0.37.1 and Remote - SSH v0.112.0 (the only possible version to install in Cursor)
If we had the option to downgrade that Remote - SSH plugin it may provide some ability to mitigate these issues.
Unfortunately this is the only way I access my codebase so I cannot try cursor yet, but I hope I will be able to soon.
Others have shared similar feedback on the issues-only github repo
Added logs:
[11:53:38.970] Log Level: 2
[11:53:38.974] SSH Resolver called for "ssh-remote+connors-mbp-3.local", attempt 1
[11:53:38.974] "remote.SSH.useLocalServer": true
[11:53:38.974] "remote.SSH.useExecServer": true
[11:53:38.974] "remote.SSH.path": undefined
[11:53:38.975] "remote.SSH.configFile": undefined
[11:53:38.975] "remote.SSH.useFlock": true
[11:53:38.975] "remote.SSH.lockfilesInTmp": false
[11:53:38.975] "remote.SSH.localServerDownload": auto
[11:53:38.975] "remote.SSH.remoteServerListenOnSocket": false
[11:53:38.975] "remote.SSH.showLoginTerminal": false
[11:53:38.975] "remote.SSH.defaultExtensions": []
[11:53:38.975] "remote.SSH.loglevel": 2
[11:53:38.975] "remote.SSH.enableDynamicForwarding": true
[11:53:38.975] "remote.SSH.enableRemoteCommand": false
[11:53:38.975] "remote.SSH.serverPickPortsFromRange": {}
[11:53:38.975] "remote.SSH.serverInstallPath": {}
[11:53:38.977] VS Code version: 0.37.1
[11:53:38.977] Remote-SSH version: remote-ssh@0.112.0
[11:53:38.977] darwin arm64
[11:53:38.977] SSH Resolver called for host: connors-mbp-3.local
[11:53:38.977] Setting up SSH remote "connors-mbp-3.local"
[11:53:38.979] Acquiring local install lock: /var/folders/ry/lqz1wk814w9f69ygf_kxfxx40000gn/T/vscode-remote-ssh-7db82796-install.lock
[11:53:38.979] Looking for existing server data file at /Users/connorelsea/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-7db82796-bee043c1bb0095dab94043787985ccfc7cc38e50-0.112.0-es/data.json
[11:53:38.980] Using commit id "bee043c1bb0095dab94043787985ccfc7cc38e50" and quality "stable" for server
[11:53:38.981] Install and start server if needed
[11:53:38.983] PATH: /opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
[11:53:38.984] Checking ssh with "ssh -V"
[11:53:38.993] > OpenSSH_9.7p1, LibreSSL 3.3.6
[11:53:38.994] askpass server listening on /var/folders/ry/lqz1wk814w9f69ygf_kxfxx40000gn/T/vscode-ssh-askpass-7c577cca12be261b492062b4af77caf5b9731017.sock
[11:53:38.995] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/ry/lqz1wk814w9f69ygf_kxfxx40000gn/T/vscode-ssh-askpass-154064acb269237a12303efb9aabdbcbd623a907.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","60756","-o","ConnectTimeout=15","connors-mbp-3.local"],"serverDataFolderName":".cursor-server","dataFilePath":"/Users/connorelsea/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-7db82796-bee043c1bb0095dab94043787985ccfc7cc38e50-0.112.0-es/data.json"}
[11:53:38.995] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.Ctn1V9JOOB/Listeners","SHELL":"/opt/homebrew/bin/fish","DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/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":"","VSCODE_SSH_ASKPASS_MAIN":"/Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/ry/lqz1wk814w9f69ygf_kxfxx40000gn/T/vscode-ssh-askpass-7c577cca12be261b492062b4af77caf5b9731017.sock"}
[11:53:38.995] Spawned 70444
[11:53:39.081] > local-server-1> Running ssh connection command: ssh -v -T -D 60756 -o ConnectTimeout=15 connors-mbp-3.local
[11:53:39.082] > local-server-1> Spawned ssh, pid=70448
[11:53:39.087] stderr> OpenSSH_9.7p1, LibreSSL 3.3.6
[11:53:39.305] stderr> debug1: Server host key: ssh-ed25519 SHA256:qlWxqsIe87rtIA5XaGqQ9RHAHFzF3RzRwQJgTxS/rBU
[11:53:39.514] Got askpass request: {"request":" (connorelsea@connors-mbp-3.local) Password:"}
[11:53:39.514] Showing password prompt
[11:53:39.514] Listening for interwindow password on /var/folders/ry/lqz1wk814w9f69ygf_kxfxx40000gn/T/vscode-ssh-askpass-eddae30991b6f295655ed7649ffe58401840b975.sock
[11:53:39.514] Writing password prompt to globalState
[11:53:42.277] Got password response
[11:53:42.278] Interactor gave response: ****************
[11:53:42.278] Cleaning up other-window auth server
[11:53:42.498] stderr> Authenticated to connors-mbp-3.local ([fe80::185d:ddd4:e832:11d1%en0]:22) using "keyboard-interactive".
[11:53:42.714] > ready: 735f2da961f7
[11:53:42.724] > Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103
[11:53:42.724] Platform: macOS
[11:53:42.730] > /bin/zsh
[11:53:42.730] Shell: zsh
[11:53:42.730] Creating bash subshell inside "zsh"
[11:53:42.743] > bash version: 3.2.57(1)-release
[11:53:42.774] > 735f2da961f7: running
[11:53:42.865] > Installing to /Users/connorelsea/.cursor-server...
[11:53:42.871] > 735f2da961f7%%1%%
[11:53:42.915] > Downloading with curl
[11:53:42.922] stderr> % Total % Received % Xferd Average Speed Time Time Time Current
[11:53:42.922] stderr> Dload Upload Total Spent Left Speed
[11:53:42.922] stderr> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
[11:53:43.300] stderr> 100 215 100 215 0 0 796
[11:53:43.301] > curl download failed
> 404
> printenv:
> MANPATH=/opt/homebrew/share/man::
> SHELL=/bin/zsh
> HOMEBREW_REPOSITORY=/opt/homebrew
> TMPDIR=/var/folders/9j/vzyh0vbs3f76m9b51rs7gk9r0000gn/T/
> SSH_CLIENT=fe80::1803:d080:b219:4006%en0 60757 22
> USER=connorelsea
> VSCODE_AGENT_FOLDER=/Users/connorelsea/.cursor-server
> PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/share/dotnet:~/.dotnet/tools:/usr/local/munki
> PWD=/Users/connorelsea/.cursor-server
> SHLVL=2
> HOME=/Users/connorelsea
> HOMEBREW_PREFIX=/opt/homebrew
> LOGNAME=connorelsea
> SSH_CONNECTION=fe80::1803:d080:b219:4006%en0 60757 fe80::185d:ddd4:e832:11d1%en0 22
> LC_CTYPE=en_US.UTF-8
> INFOPATH=/opt/homebrew/share/info:
> HOMEBREW_CELLAR=/opt/homebrew/Cellar
> OLDPWD=/Users/connorelsea
> _=/usr/bin/printenv
> Trigger local server download
> 735f2da961f7:trigger_server_download
> artifact==cli-darwin-arm64==
> destFolder==/Users/connorelsea/.cursor-server==
> destFolder2==/vscode-cli-bee043c1bb0095dab94043787985ccfc7cc38e50.tar.gz==
> 735f2da961f7:trigger_server_download_end
> Waiting for client to transfer server archive...
> Waiting for /Users/connorelsea/.cursor-server/vscode-cli-bee043c1bb0095dab94043787985ccfc7cc38e50.tar.gz.done and vscode-server.tar.gz to exist
>
[11:53:43.301] Got request to download on client for {"artifact":"cli-darwin-arm64","destPath":"/Users/connorelsea/.cursor-server/vscode-cli-bee043c1bb0095dab94043787985ccfc7cc38e50.tar.gz"}
[11:53:43.301] Downloading VS Code server locally...
[11:53:43.302] stderr> 0 --:--:-- --:--:-- --:--:-- 799
[11:53:43.444] Terminating local server
[11:53:43.447] Resolver error: Error: Failed to download VS Code Server (Server returned 404)
at g.Create (/Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/extension.js:2:499918)
at /Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/extension.js:2:550609
at async t.downloadAndCopyToHost (/Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/extension.js:2:550109)
at async /Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/extension.js:2:558008
at async e (/Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/extension.js:2:558123)
at async /Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/extension.js:2:580415
at async t.withShowDetailsEvent (/Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/extension.js:2:584074)
at async /Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/extension.js:2:555165
at async T (/Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/extension.js:2:553216)
at async t.resolveWithLocalServer (/Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/extension.js:2:554705)
at async k (/Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/extension.js:2:577586)
at async t.resolve (/Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/extension.js:2:581445)
at async /Users/connorelsea/.cursor/extensions/ms-vscode-remote.remote-ssh-0.112.0/out/extension.js:2:848061
[11:53:43.448] Local server exit: 15
[11:53:43.450] ------