Unable to connect to any remotes on RHEL/Ubuntu machines any more after the last update. It gets stuck on “Copying VS Code” after a failed scp.
The remote connections continue to work fine in both VS Code vanilla and Windsurf.
Verified that all Extensions are up-to-date, and match the versions that are working fine in VS Code and Windsurf.
My current version of Cursor:
I have attempted:
- Restart of my local machine
- Updating all extensions
- Reinstalling all SSH extensions
- Deleting the ~/.cursor-server/ folder on the remote
- Deleting the SSH extension cache folders on my machine while uninstalling
Here is the log:
[15:27:27.186] Log Level: 2
[15:27:27.193] VS Code version: 0.43.4
[15:27:27.193] Remote-SSH version: remote-ssh@0.113.1
[15:27:27.193] win32 x64
[15:27:27.235] SSH Resolver called for "ssh-remote+[redacted].[redacted]", attempt 1
[15:27:27.235] "remote.SSH.useLocalServer": false
[15:27:27.235] "remote.SSH.useExecServer": true
[15:27:27.235] "remote.SSH.showLoginTerminal": false
[15:27:27.236] "remote.SSH.remotePlatform": {"default":"linux","[redacted]6.[redacted]":"linux","[redacted]1.[redacted]":"linux","[redacted]5.[redacted]":"linux","[redacted]":"linux","[redacted]":"linux","[redacted].[redacted]":"linux","[redacted]":"linux"}
[15:27:27.236] "remote.SSH.path": undefined
[15:27:27.236] "remote.SSH.configFile": undefined
[15:27:27.236] "remote.SSH.useFlock": true
[15:27:27.236] "remote.SSH.lockfilesInTmp": true
[15:27:27.236] "remote.SSH.localServerDownload": always
[15:27:27.236] "remote.SSH.remoteServerListenOnSocket": false
[15:27:27.236] "remote.SSH.showLoginTerminal": false
[15:27:27.236] "remote.SSH.defaultExtensions": []
[15:27:27.236] "remote.SSH.loglevel": 2
[15:27:27.236] "remote.SSH.enableDynamicForwarding": true
[15:27:27.236] "remote.SSH.enableRemoteCommand": false
[15:27:27.237] "remote.SSH.serverPickPortsFromRange": {}
[15:27:27.237] "remote.SSH.serverInstallPath": {}
[15:27:27.237] "remote.SSH.permitPtyAllocation": false
[15:27:27.237] "remote.SSH.preferredLocalPortRange: undefined
[15:27:27.237] "remote.SSH.useCurlAndWgetConfigurationFiles: false
[15:27:27.247] SSH Resolver called for host: [redacted].[redacted]
[15:27:27.247] Setting up SSH remote "[redacted].[redacted]"
[15:27:27.251] Using commit id "48d735e3dec42accfdf71efabf00bb49e242b880" and quality "stable" for server
[15:27:27.254] Install and start server if needed
[15:27:27.255] Checking ssh with "C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe -V"
[15:27:27.258] Got error from ssh: spawn C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe ENOENT
[15:27:27.259] Checking ssh with "C:\Windows\system32\ssh.exe -V"
[15:27:27.260] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[15:27:27.260] Checking ssh with "C:\Windows\ssh.exe -V"
[15:27:27.261] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[15:27:27.261] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V"
[15:27:27.262] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[15:27:27.262] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[15:27:27.263] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[15:27:27.263] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[15:27:27.292] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
[15:27:27.297] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 58062 "[redacted].[redacted]" bash
[15:27:27.299] Terminal shell path: C:\Windows\System32\cmd.exe
[15:27:30.120] > 0402c0697fee: running
> e]0;C:\Windows\System32\cmd.exea
[15:27:30.120] Got some output, clearing connection timeout
[15:27:30.161] > Installing to /users/[redacted]/.cursor-server...
> Trigger local server download
> 0402c0697fee:trigger_server_download
> artifact==cli-alpine-x64==
> destFolder==/users/[redacted]/.cursor-server==
> destFolder2==/vscode-cli-48d735e3dec42accfdf71efabf00bb49e242b880.tar.gz==
> 0402c0697fee:trigger_server_download_end
> Waiting for client to transfer server archive...
> Waiting for /users/[redacted]/.cursor-server/vscode-cli-48d735e3dec42accfdf71efabf00bb49e242b880.tar.gz.done and vscode-server.tar.gz to exist
>
[15:27:30.162] Got request to download on client for {"artifact":"cli-alpine-x64","destPath":"/users/[redacted]/.cursor-server/vscode-cli-48d735e3dec42accfdf71efabf00bb49e242b880.tar.gz"}
[15:27:30.162] server download URL: https://cursor.blob.core.windows.net/remote-releases/48d735e3dec42accfdf71efabf00bb49e242b880/cli-alpine-x64.tar.gz
[15:27:30.162] Downloading VS Code server locally...
[15:27:30.254] Downloaded VS Code server to c:\Users\[redacted]\AppData\Local\Temp\a7ce876b-5027-4586-a3c0-e8158e7edf42
[15:27:30.255] Renamed VS Code server to c:\Users\[redacted]\AppData\Local\Temp\vscode_server_1732663650254\vscode-cli-48d735e3dec42accfdf71efabf00bb49e242b880.tar.gz
[15:27:30.258] Checking ssh with "C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe -V"
[15:27:30.259] Got error from ssh: spawn C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe ENOENT
[15:27:30.259] Checking ssh with "C:\Windows\system32\ssh.exe -V"
[15:27:30.260] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[15:27:30.260] Checking ssh with "C:\Windows\ssh.exe -V"
[15:27:30.262] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[15:27:30.262] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V"
[15:27:30.263] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[15:27:30.263] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[15:27:30.264] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[15:27:30.264] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[15:27:30.291] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
[15:27:30.295] Expecting scp to be next to ssh at C:\Windows\System32\OpenSSH\scp.exe
[15:27:30.295] Testing scp with "C:\Windows\System32\OpenSSH\scp.exe"
[15:27:30.328] scp exited with code: 1
[15:27:30.329] 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
[15:27:30.330] Copying file to remote with "C:\Windows\System32\OpenSSH\scp.exe" "vscode-cli-48d735e3dec42accfdf71efabf00bb49e242b880.tar.gz" "vscode-cli-48d735e3dec42accfdf71efabf00bb49e242b880.tar.gz.done" "[redacted].[redacted]":"/users/[redacted]/.cursor-server"
[15:27:30.330] Using cwd: file:///c%3A/Users/[redacted]/AppData/Local/Temp/vscode_server_1732663650254
[15:27:30.330] Terminal shell path: C:\Windows\System32\cmd.exe