When attempting to connect via ssh: the following is the log output below.
How an I just temporarily fix this?
Is this an issue with my linux (ubuntu 22.04) or with cursor files?
Using classic VS Code to the same machine works fine.
(I copied .vscode-server to .cursor-server on the host, but that did not fix it.)
[10:30:41.847] Log Level: 2
[10:30:41.852] SSH Resolver called for "ssh-remote+dlm", attempt 1
[10:30:41.852] "remote.SSH.useLocalServer": true
[10:30:41.852] "remote.SSH.useExecServer": true
[10:30:41.852] "remote.SSH.path": undefined
[10:30:41.852] "remote.SSH.configFile": undefined
[10:30:41.853] "remote.SSH.useFlock": true
[10:30:41.853] "remote.SSH.lockfilesInTmp": false
[10:30:41.853] "remote.SSH.localServerDownload": auto
[10:30:41.853] "remote.SSH.remoteServerListenOnSocket": false
[10:30:41.853] "remote.SSH.showLoginTerminal": false
[10:30:41.853] "remote.SSH.defaultExtensions": []
[10:30:41.853] "remote.SSH.loglevel": 2
[10:30:41.853] "remote.SSH.enableDynamicForwarding": true
[10:30:41.853] "remote.SSH.enableRemoteCommand": false
[10:30:41.853] "remote.SSH.serverPickPortsFromRange": {}
[10:30:41.853] "remote.SSH.serverInstallPath": {}
[10:30:41.853] "remote.SSH.permitPtyAllocation": false
[10:30:41.853] "remote.SSH.preferredLocalPortRange: undefined
[10:30:41.853] "remote.SSH.useCurlAndWgetConfigurationFiles: false
[10:30:41.863] VS Code version: 0.42.2
[10:30:41.863] Remote-SSH version: remote-ssh@0.114.3
[10:30:41.863] darwin arm64
[10:30:41.864] SSH Resolver called for host: dlm
[10:30:41.864] Setting up SSH remote "dlm"
[10:30:41.867] Acquiring local install lock: /var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/vscode-remote-ssh-cc6f4fe0-install.lock
[10:30:41.869] Looking for existing server data file at /Users/<me>/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-cc6f4fe0-c499aee5f16e67815c7dc795ff338dc8ab3e07f0-0.114.3-es/data.json
[10:30:41.869] No existing data file
[10:30:41.869] Using commit id "c499aee5f16e67815c7dc795ff338dc8ab3e07f0" and quality "stable" for server
[10:30:41.871] Script variables:
{
"InstallExitCode.24": "AlreadyInProgress",
"InstallExitCode.25": "ServerDownloadFailed",
"InstallExitCode.26": "NoDownloaderAvailable",
"InstallExitCode.27": "UnsupportedArch",
"InstallExitCode.28": "StatusCheckFailed",
"InstallExitCode.29": "NeedInsidersArch",
"InstallExitCode.30": "NoDownloaderAvailableForStatusCheck",
"InstallExitCode.31": "ServerTransferFailed",
"InstallExitCode.32": "ServerFailedToStart",
"InstallExitCode.33": "NeedInsidersWindows",
"InstallExitCode.34": "CreateInstallDirFailed",
"InstallExitCode.35": "UnsupportedPlatform",
"InstallExitCode.36": "ServerTerminatedCVE20201416",
"InstallExitCode.37": "UnpackFailed",
"InstallExitCode.38": "ChangeDirFailed",
"InstallExitCode.AlreadyInProgress": "24",
"InstallExitCode.ServerDownloadFailed": "25",
"InstallExitCode.NoDownloaderAvailable": "26",
"InstallExitCode.NoDownloaderAvailableForStatusCheck": "30",
"InstallExitCode.UnsupportedArch": "27",
"InstallExitCode.StatusCheckFailed": "28",
"InstallExitCode.NeedInsidersArch": "29",
"InstallExitCode.ServerTransferFailed": "31",
"InstallExitCode.ServerFailedToStart": "32",
"InstallExitCode.NeedInsidersWindows": "33",
"InstallExitCode.CreateInstallDirFailed": "34",
"InstallExitCode.UnsupportedPlatform": "35",
"InstallExitCode.ServerTerminatedCVE20201416": "36",
"InstallExitCode.UnpackFailed": "37",
"InstallExitCode.ChangeDirFailed": "38",
"InstallUnpackCode.Success": "success",
"InstallUnpackCode.Error": "error",
"InstallUnpackCode.MissingFiles": "missingFiles",
"uuid": "c86227ba9cde",
"startMarker": "c86227ba9cde: running",
"commitId": "c499aee5f16e67815c7dc795ff338dc8ab3e07f0",
"quality": "stable",
"token": "111a11a1-1111-111a-1a11-aaa11a111a1a",
"vscodeAgentFolder": "$HOME/.cursor-server",
"allowClientDownload": "1",
"forceClientDownload": "0",
"cliNameInArchive": "code",
"ignoreWgetConfigFlag": " --no-config ",
"ignoreCurlConfigFlag": " --disable ",
"wgetTriesSegment": "--tries=1",
"listenArgs": "--on-host=127.0.0.1 --on-port",
"getDownloadServerStartTrigger": "c86227ba9cde:trigger_server_download",
"getDownloadServerEndTrigger": "c86227ba9cde:trigger_server_download_end",
"getProgressDownloading": "c86227ba9cde%%1%%",
"getProgressInstalling": "c86227ba9cde%%2%%"
}
[10:30:41.872] Install and start server if needed
[10:30:41.874] PATH: /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:/opt/X11/bin:/Library/TeX/texbin:/Applications/Little Snitch.app/Contents/Components
[10:30:41.874] Checking ssh with "ssh -V"
[10:30:41.896] > OpenSSH_9.6p1, LibreSSL 3.3.6
[10:30:41.899] askpass server listening on /var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/vscode-ssh-askpass-5c312554143e9a266d2fd0c6ea261b3c0d5df330.sock
[10:30:41.900] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/vscode-ssh-askpass-a973ffdcd51c95621dd87b28c9e1484f39611e1d.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","62226","-o","ConnectTimeout=15","dlm","bash"],"serverDataFolderName":".cursor-server","dataFilePath":"/Users/<me>/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-cc6f4fe0-c499aee5f16e67815c7dc795ff338dc8ab3e07f0-0.114.3-es/data.json"}
[10:30:41.900] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.z0t0uomaeT/Listeners","SHELL":"/bin/zsh","DISPLAY":"/private/tmp/com.apple.launchd.rCyoNh0TAN/org.xquartz:0","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/<me>/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/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/<me>/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/vscode-ssh-askpass-5c312554143e9a266d2fd0c6ea261b3c0d5df330.sock"}
[10:30:41.902] Spawned 86078
[10:30:42.038] > local-server-1> Running ssh connection command: ssh -v -T -D 62226 -o ConnectTimeout=15 dlm bash
[10:30:42.040] > local-server-1> Spawned ssh, pid=86083
[10:30:42.044] stderr> OpenSSH_9.6p1, LibreSSL 3.3.6
[10:30:42.121] stderr> debug1: Server host key: ssh-ed25519 SHA256:8DWDkW0wkozgwQ8gyALlREliB4L2xQHrttUzug4hmow
[10:30:42.411] stderr> Authenticated to 10.0.0.2 ([10.0.0.2]:22) using "publickey".
[10:30:42.478] > ready: c86227ba9cde
[10:30:42.487] > Linux 5.15.0-101-generic #111-Ubuntu SMP Tue Mar 5 20:16:58 UTC 2024
[10:30:42.487] Platform: linux
[10:30:42.495] > /usr/bin/zsh
[10:30:42.495] Parent Shell: zsh
[10:30:42.496] Parent Shell pid: 86078
[10:30:42.504] > 639446
[10:30:42.504] Waiting for pid of spawned 'sh' subshell: '639446'...
[10:30:42.516] > c86227ba9cde: running
> Script executing under PID: 639446
[10:30:42.520] > Installing to /home/<me>/.cursor-server...
[10:30:42.521] > c86227ba9cde%%1%%
> Downloading with wget
> wget is from busybox: no
[10:30:42.526] stderr> Program 'wget' appears to support flag '--no-config'
[10:30:42.829] > wget download failed
> https://update.code.visualstudio.com/commit:c499aee5f16e67815c7dc795ff338dc8ab3e07f0/cli-alpine-x64/stable:
> 2024-10-15 10:30:42 ERROR 404: Not Found.
> printenv:
> PGPASSFILE=/media/backup/postgresql/11/.pgpass
> USER=<me>
> SSH_CLIENT=10.0.0.11 62227 22
> LC_TIME=en_AU.UTF-8
> XDG_SESSION_TYPE=tty
> SHLVL=1
> MOTD_SHOWN=pam
> HOME=/home/<me>
> OLDPWD=/home/<me>
> LC_MONETARY=en_AU.UTF-8
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1016/bus
> LOGNAME=<me>
> _=/usr/bin/sh
> XDG_SESSION_CLASS=user
> PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:9000
> XDG_SESSION_ID=46321
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
> LC_ADDRESS=en_AU.UTF-8
> XDG_RUNTIME_DIR=/run/user/1016
> LANG=en_US.UTF-8
> LC_TELEPHONE=en_AU.UTF-8
> SHELL=/usr/bin/zsh
> LC_NAME=en_AU.UTF-8
> AWS_ACCESS_KEY_ID=AKIAYBEHS33QD6GQZH6A
> AWS_SECRET_ACCESS_KEY=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
> LC_MEASUREMENT=en_AU.UTF-8
> LC_IDENTIFICATION=en_AU.UTF-8
> PWD=/home/<me>/.cursor-server
> SSH_CONNECTION=10.0.0.11 62227 10.0.0.2 22
> RESTIC_PASSWORD=s0LiL5vF6S5vVQIZAYHX
> LC_NUMERIC=en_AU.UTF-8
> LC_PAPER=en_AU.UTF-8
> Trigger local server download
> c86227ba9cde:trigger_server_download
> artifact==cli-alpine-x64==
> destFolder==/home/<me>/.cursor-server==
> destFolder2==/vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.tar.gz==
> c86227ba9cde:trigger_server_download_end
> Waiting for client to transfer server archive...
> Waiting for /home/<me>/.cursor-server/vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.tar.gz.done and vscode-server.tar.gz to exist
>
[10:30:42.830] Got request to download on client for {"artifact":"cli-alpine-x64","destPath":"/home/<me>/.cursor-server/vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.tar.gz"}
[10:30:42.830] server download URL: https://cursor.blob.core.windows.net/remote-releases/c499aee5f16e67815c7dc795ff338dc8ab3e07f0/cli-alpine-x64.tar.gz
[10:30:42.831] Downloading VS Code server locally...
[10:30:42.892] Downloaded VS Code server to /var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/cfb907c0-b9a0-4917-a11c-410a71c6e1c5
[10:30:42.892] Renamed VS Code server to /var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/vscode_server_1728981042892/vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.tar.gz
[10:30:42.892] Preparing to scp to host dlm
[10:30:42.893] PATH: /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:/opt/X11/bin:/Library/TeX/texbin:/Applications/Little Snitch.app/Contents/Components
[10:30:42.893] Checking ssh with "ssh -V"
[10:30:42.896] > OpenSSH_9.6p1, LibreSSL 3.3.6
[10:30:42.897] Testing scp with "scp"
[10:30:42.901] scp exited with code: 1
[10:30:42.901] Got stderr from scp: usage: scp [-346ABCOpqRrsTv] [-c cipher] [-D sftp_server_path] [-F ssh_config]
[-i identity_file] [-J destination] [-l limit] [-o ssh_option]
[-P port] [-S program] [-X sftp_option] source ... target
[10:30:42.902] Copying file to remote with scp -o ConnectTimeout=15 'vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.tar.gz' 'vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.tar.gz.done' dlm:'/home/<me>/.cursor-server'
[10:30:42.902] Using cwd: file:///var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/vscode_server_1728981042892
[10:30:43.454] > vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab 0% 0 0.0KB/s --:-- ETA
[10:30:44.314] > vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab 100% 8719KB 9.9MB/s 00:00
[10:30:44.349] > vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab 0% 0 0.0KB/s --:-- ETA
[10:30:44.357] > vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab 100% 9 1.2KB/s 00:00
[10:30:44.636] "Copy server to host" terminal command done
[10:30:45.827] > Found flag and server on host
> c86227ba9cde%%2%%
> tar --version: tar (GNU tar) 1.34
> Copyright (C) 2021 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by John Gilmore and Jay Fenlason.
[10:30:45.969] > ERROR: /home/<me>/.cursor-server/code-c499aee5f16e67815c7dc795ff338dc8ab3e07f0 don't exist
> Already attempted local download, failing
> c86227ba9cde: start
> exitCode==37==
> listeningOn====
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/1016==
> platform==linux==
> unpackResult==missingFiles==
> didLocalDownload==1==
> downloadTime====
> installTime==139==
> serverStartTime====
> execServerToken==111a11a1-1111-111a-1a11-aaa11a111a1a==
> platformDownloadPath==cli-alpine-x64==
> c86227ba9cde: end
[10:30:45.970] Received install output:
exitCode==37==
listeningOn====
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1016==
platform==linux==
unpackResult==missingFiles==
didLocalDownload==1==
downloadTime====
installTime==139==
serverStartTime====
execServerToken==111a11a1-1111-111a-1a11-aaa11a111a1a==
platformDownloadPath==cli-alpine-x64==
[10:30:45.971] Terminating local server
[10:30:45.973] stderr> mv: cannot stat 'code': No such file or directory
[10:30:45.973] stderr> sh: 1: eval: /home/<me>/.cursor-server/code-c499aee5f16e67815c7dc795ff338dc8ab3e07f0: not found
[10:30:45.977] Resolver error: Error: Failed to install the VS Code Server
at v.ServerInstallError (/Users/me/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/extension.js:2:501338)
at h (/Users/me/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/extension.js:2:494847)
at t.handleInstallOutput (/Users/me/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/extension.js:2:496817)
at e (/Users/me/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/extension.js:2:553107)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /Users/me/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/extension.js:2:575396
at async t.withShowDetailsEvent (/Users/<me>/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/extension.js:2:579072)
at async /Users/me/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/extension.js:2:549812
at async T (/Users/me/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/extension.js:2:547863)
at async t.resolveWithLocalServer (/Users/me/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/extension.js:2:549352)
at async k (/Users/me/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/extension.js:2:572528)
at async t.resolve (/Users/me/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/extension.js:2:576483)
at async /Users/me/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/extension.js:2:844858
[10:30:45.984] ------
[10:30:45.986] Local server exit: 15
[10:30:46.483] Opening exec server for ssh-remote+dlm
[10:30:46.499] Acquiring local install lock: /var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/vscode-remote-ssh-cc6f4fe0-install.lock
[10:30:46.500] Initizing new exec server for ssh-remote+dlm
[10:30:46.505] Looking for existing server data file at /Users/<me>/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-cc6f4fe0-c499aee5f16e67815c7dc795ff338dc8ab3e07f0-0.114.3-es/data.json
[10:30:46.506] No existing data file
[10:30:46.506] Using commit id "c499aee5f16e67815c7dc795ff338dc8ab3e07f0" and quality "stable" for server
[10:30:46.507] Script variables:
{
"InstallExitCode.24": "AlreadyInProgress",
"InstallExitCode.25": "ServerDownloadFailed",
"InstallExitCode.26": "NoDownloaderAvailable",
"InstallExitCode.27": "UnsupportedArch",
"InstallExitCode.28": "StatusCheckFailed",
"InstallExitCode.29": "NeedInsidersArch",
"InstallExitCode.30": "NoDownloaderAvailableForStatusCheck",
"InstallExitCode.31": "ServerTransferFailed",
"InstallExitCode.32": "ServerFailedToStart",
"InstallExitCode.33": "NeedInsidersWindows",
"InstallExitCode.34": "CreateInstallDirFailed",
"InstallExitCode.35": "UnsupportedPlatform",
"InstallExitCode.36": "ServerTerminatedCVE20201416",
"InstallExitCode.37": "UnpackFailed",
"InstallExitCode.38": "ChangeDirFailed",
"InstallExitCode.AlreadyInProgress": "24",
"InstallExitCode.ServerDownloadFailed": "25",
"InstallExitCode.NoDownloaderAvailable": "26",
"InstallExitCode.NoDownloaderAvailableForStatusCheck": "30",
"InstallExitCode.UnsupportedArch": "27",
"InstallExitCode.StatusCheckFailed": "28",
"InstallExitCode.NeedInsidersArch": "29",
"InstallExitCode.ServerTransferFailed": "31",
"InstallExitCode.ServerFailedToStart": "32",
"InstallExitCode.NeedInsidersWindows": "33",
"InstallExitCode.CreateInstallDirFailed": "34",
"InstallExitCode.UnsupportedPlatform": "35",
"InstallExitCode.ServerTerminatedCVE20201416": "36",
"InstallExitCode.UnpackFailed": "37",
"InstallExitCode.ChangeDirFailed": "38",
"InstallUnpackCode.Success": "success",
"InstallUnpackCode.Error": "error",
"InstallUnpackCode.MissingFiles": "missingFiles",
"uuid": "90342dc6c68b",
"startMarker": "90342dc6c68b: running",
"commitId": "c499aee5f16e67815c7dc795ff338dc8ab3e07f0",
"quality": "stable",
"token": "11111aa1-1aaa-11aa-a111-11a1111111aa",
"vscodeAgentFolder": "$HOME/.cursor-server",
"allowClientDownload": "1",
"forceClientDownload": "0",
"cliNameInArchive": "code",
"ignoreWgetConfigFlag": " --no-config ",
"ignoreCurlConfigFlag": " --disable ",
"wgetTriesSegment": "--tries=1",
"listenArgs": "--on-host=127.0.0.1 --on-port",
"getDownloadServerStartTrigger": "90342dc6c68b:trigger_server_download",
"getDownloadServerEndTrigger": "90342dc6c68b:trigger_server_download_end",
"getProgressDownloading": "90342dc6c68b%%1%%",
"getProgressInstalling": "90342dc6c68b%%2%%"
}
[10:30:46.509] Install and start server if needed
[10:30:46.511] askpass server listening on /var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/vscode-ssh-askpass-f91bd502f712dc375e1db7e3409b65c3b6215a70.sock
[10:30:46.511] Spawning local server with {"serverId":2,"ipcHandlePath":"/var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/vscode-ssh-askpass-acfdc1fc28155c2b68aa2d2ddde75a678d4648bf.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","62226","-o","ConnectTimeout=60","dlm","bash"],"serverDataFolderName":".cursor-server","dataFilePath":"/Users/<me>/Library/Application Support/Cursor/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-cc6f4fe0-c499aee5f16e67815c7dc795ff338dc8ab3e07f0-0.114.3-es/data.json"}
[10:30:46.511] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.z0t0uomaeT/Listeners","SHELL":"/bin/zsh","DISPLAY":"/private/tmp/com.apple.launchd.rCyoNh0TAN/org.xquartz:0","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/<me>/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/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/me/.cursor/extensions/ms-vscode-remote.remote-ssh-0.114.3/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/vscode-ssh-askpass-f91bd502f712dc375e1db7e3409b65c3b6215a70.sock"}
[10:30:46.512] Spawned 86106
[10:30:46.587] > local-server-2> Running ssh connection command: ssh -v -T -D 62226 -o ConnectTimeout=60 dlm bash
[10:30:46.589] > local-server-2> Spawned ssh, pid=86109
[10:30:46.593] stderr> OpenSSH_9.6p1, LibreSSL 3.3.6
[10:30:46.677] stderr> debug1: Server host key: ssh-ed25519 SHA256:8DWDkW0wkozgwQ8gyALlREliB4L2xQHrttUzug4hmow
[10:30:46.953] stderr> Authenticated to 10.0.0.2 ([10.0.0.2]:22) using "publickey".
[10:30:47.030] > ready: 90342dc6c68b
[10:30:47.039] > Linux 5.15.0-101-generic #111-Ubuntu SMP Tue Mar 5 20:16:58 UTC 2024
[10:30:47.039] Platform: linux
[10:30:47.047] > /usr/bin/zsh
[10:30:47.047] Parent Shell: zsh
[10:30:47.047] Parent Shell pid: 86106
[10:30:47.056] > 639634
[10:30:47.056] Waiting for pid of spawned 'sh' subshell: '639634'...
[10:30:47.066] > 90342dc6c68b: running
> Script executing under PID: 639634
[10:30:47.068] > Installing to /home/<me>/.cursor-server...
[10:30:47.070] > 90342dc6c68b%%1%%
> Downloading with wget
> wget is from busybox: no
[10:30:47.072] stderr> Program 'wget' appears to support flag '--no-config'
[10:30:47.124] > wget download failed
> https://update.code.visualstudio.com/commit:c499aee5f16e67815c7dc795ff338dc8ab3e07f0/cli-alpine-x64/stable:
> 2024-10-15 10:30:47 ERROR 404: Not Found.
> printenv:
> PGPASSFILE=/media/backup/postgresql/11/.pgpass
> USER=<me>
> SSH_CLIENT=10.0.0.11 62262 22
> LC_TIME=en_AU.UTF-8
> XDG_SESSION_TYPE=tty
> SHLVL=1
> MOTD_SHOWN=pam
> HOME=/home/<me>
> OLDPWD=/home/<me>
> LC_MONETARY=en_AU.UTF-8
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1016/bus
> LOGNAME=<me>
> _=/usr/bin/sh
> XDG_SESSION_CLASS=user
> PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:9000
> XDG_SESSION_ID=46323
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
> LC_ADDRESS=en_AU.UTF-8
> XDG_RUNTIME_DIR=/run/user/1016
> LANG=en_US.UTF-8
> LC_TELEPHONE=en_AU.UTF-8
> SHELL=/usr/bin/zsh
> LC_NAME=en_AU.UTF-8
> AWS_ACCESS_KEY_ID=<removed>
> AWS_SECRET_ACCESS_KEY=<removed>
> LC_MEASUREMENT=en_AU.UTF-8
> LC_IDENTIFICATION=en_AU.UTF-8
> PWD=/home/<me>/.cursor-server
> SSH_CONNECTION=10.0.0.11 62262 10.0.0.2 22
> RESTIC_PASSWORD=<removed>
> LC_NUMERIC=en_AU.UTF-8
> LC_PAPER=en_AU.UTF-8
> Trigger local server download
> 90342dc6c68b:trigger_server_download
> artifact==cli-alpine-x64==
> destFolder==/home/<me>/.cursor-server==
> destFolder2==/vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.tar.gz==
> 90342dc6c68b:trigger_server_download_end
> Waiting for client to transfer server archive...
> Waiting for /home/<me>/.cursor-server/vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.tar.gz.done and vscode-server.tar.gz to exist
>
[10:30:47.125] Got request to download on client for {"artifact":"cli-alpine-x64","destPath":"/home/<me>/.cursor-server/vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.tar.gz"}
[10:30:47.125] server download URL: https://cursor.blob.core.windows.net/remote-releases/c499aee5f16e67815c7dc795ff338dc8ab3e07f0/cli-alpine-x64.tar.gz
[10:30:47.125] Downloading VS Code server locally...
[10:30:47.174] Downloaded VS Code server to /var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/12e9b704-c32c-40df-921d-7fdf74f1d515
[10:30:47.174] Renamed VS Code server to /var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/vscode_server_1728981047174/vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.tar.gz
[10:30:47.175] Preparing to scp to host dlm
[10:30:47.175] PATH: /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:/opt/X11/bin:/Library/TeX/texbin:/Applications/Little Snitch.app/Contents/Components
[10:30:47.176] Checking ssh with "ssh -V"
[10:30:47.181] > OpenSSH_9.6p1, LibreSSL 3.3.6
[10:30:47.182] Testing scp with "scp"
[10:30:47.186] scp exited with code: 1
[10:30:47.186] Got stderr from scp: usage: scp [-346ABCOpqRrsTv] [-c cipher] [-D sftp_server_path] [-F ssh_config]
[-i identity_file] [-J destination] [-l limit] [-o ssh_option]
[-P port] [-S program] [-X sftp_option] source ... target
[10:30:47.186] Copying file to remote with scp -o ConnectTimeout=60 'vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.tar.gz' 'vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.tar.gz.done' dlm:'/home/<me>/.cursor-server'
[10:30:47.186] Using cwd: file:///var/folders/1f/c30n_2q14556_p9sxtzwyx7h0000gn/T/vscode_server_1728981047174
[10:30:47.764] > vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab 0% 0 0.0KB/s --:-- ETA
[10:30:48.632] > vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab 100% 8719KB 9.8MB/s 00:00
[10:30:48.662] > vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab 0% 0 0.0KB/s --:-- ETA
[10:30:48.686] > vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab 100% 9 0.4KB/s 00:00
[10:30:48.956] "Copy server to host" terminal command done
[10:30:50.123] > Found flag and server on host
> 90342dc6c68b%%2%%
> tar --version: tar (GNU tar) 1.34
> Copyright (C) 2021 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by John Gilmore and Jay Fenlason.
[10:30:50.265] > ERROR: /home/<me>/.cursor-server/code-c499aee5f16e67815c7dc795ff338dc8ab3e07f0 don't exist
> Already attempted local download, failing
> 90342dc6c68b: start
> exitCode==37==
> listeningOn====
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/1016==
> platform==linux==
> unpackResult==missingFiles==
> didLocalDownload==1==
> downloadTime====
> installTime==138==
> serverStartTime====
> execServerToken==11111aa1-1aaa-11aa-a111-11a1111111aa==
> platformDownloadPath==cli-alpine-x64==
> 90342dc6c68b: end
[10:30:50.266] Received install output:
exitCode==37==
listeningOn====
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1016==
platform==linux==
unpackResult==missingFiles==
didLocalDownload==1==
downloadTime====
installTime==138==
serverStartTime====
execServerToken==11111aa1-1aaa-11aa-a111-11a1111111aa==
platformDownloadPath==cli-alpine-x64==
[10:30:50.266] Terminating local server
[10:30:50.267] stderr> mv: cannot stat 'code': No such file or directory
[10:30:50.267] stderr> sh: 1: eval: /home/<me>/.cursor-server/code-c499aee5f16e67815c7dc795ff338dc8ab3e07f0: not found
[10:30:50.269] Exec server for ssh-remote+dlm failed: Error: Failed to install the VS Code Server
[10:30:50.269] Error opening exec server for ssh-remote+dlm: Error: Failed to install the VS Code Server
[10:30:50.276] Local server exit: 15