Remote SSH install fails when remote host cannot access internet (Download failed: Failed to copy server from local client)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When connecting to a remote Windows host via SSH, Cursor fails to install the remote server if the host cannot directly access the internet. Even though the local client attempts to copy the server archive to the remote machine, the installation still fails due to file decoding errors.

Steps to Reproduce

Connect to a remote Windows host via SSH (192.168.0.104)
The remote host has no internet access (cannot reach cursor.blob.core.windows.net)
Cursor starts remote installation and tries to download the server package
Download fails → Cursor attempts to copy the local archive to the remote machine
The installation fails with the following errors:

Download failed: Failed to download server: 无法解析远程名称: 'cursor.blob.core.windows.net'
Download failed: Failed to copy server from local client
CertUtil: -decode failed: 0x8007000d (WIN32: 13 ERROR_INVALID_DATA)

More Logs:

[info] (ssh_tunnel) stdout: 26eae8598b1e68d27ba6dde9: start
exitCode==1==
errorMessage==Download failed: Failed to copy server from local client==
isFatalError==true==
codeListeningOn==win32==
codeConnectionToken==C:\Users\admin\.cursor-server\bin\b40d4b28058fede67ea231ab37a15cececd94b00\bin\remote-cli;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\Intel\IPP\6.1.1.035\em64t\bin;C:\Program Files\TortoiseSVN\bin;D:\protoc-3.17.3-win64\bin;C:\Program Files\Java\jdk1.8.0_251\bin;D:\WebStorm 2021.3.2\bin;D:\ffmpeg-n5.0-latest-win64-gpl-5.0\ffmpeg-n5.0-latest-win64-gpl-5.0\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Git\cmd;C:\Users\admin\AppData\Local\Chromium\Application;C:\Program Files\nodejs\;%PNPM_HOME%;C:\Users\admin\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\admin\AppData\Local\Programs\Python\Python38\;C:\Users\admin\AppData\Local\Microsoft\WindowsApps;%WebStorm%;D:\Microsoft VS Code\bin;C:\Users\admin\AppData\Roaming\npm==
nodeExecutable==C:\Users\admin\.cursor-server\bin\b40d4b28058fede67ea231ab37a15cececd94b00\node.exe==
detectedPlatform==win32==
arch==x64==
SSH_AUTH_SOCK====
26eae8598b1e68d27ba6dde9: end

[info] Server install command exit code:  1
[error] Error installing server: [Error: Couldn't install Cursor Server, install script returned non-zero exit status: Download failed: Failed to copy server from local client
	at t.installCodeServer (c:\Users\12287\.cursor\extensions\anysphere.remote-ssh-1.0.34\dist\main.js:2:952848)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async c:\Users\12287\.cursor\extensions\anysphere.remote-ssh-1.0.34\dist\main.js:2:402760]
[info] Deleting local script C:\Users\12287\AppData\Local\Temp\cursor_remote_install_4ce0f7fe-ccaa-4889-a4f3-cc86afab7aba.ps1
[error] Error resolving SSH authority [Error: Couldn't install Cursor Server, install script returned non-zero exit status: Download failed: Failed to copy server from local client
	at t.installCodeServer (c:\Users\12287\.cursor\extensions\anysphere.remote-ssh-1.0.34\dist\main.js:2:952848)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async c:\Users\12287\.cursor\extensions\anysphere.remote-ssh-1.0.34\dist\main.js:2:402760]
[info] (ssh_tunnel) stderr: del :  Ҳ   ·    C:\Users\admin\.cursor-server\bin\b40d4b28058fede67ea231ab37a15c
ececd94b00\cursor-server.tar.gz      Ϊ  ·       ڡ 
    λ     :3  ַ : 1
+ del cursor-server.tar.gz
+ ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\admin\...r-server.tar.gz: 
   String) [Remove-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveIt 
   emCommand
 

Expected Behavior

If the remote host cannot reach the internet, Cursor should successfully transfer the server package from the local client to the remote host and complete installation without manual intervention.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.64 (system setup)
VSCode Version: 1.99.3
Commit: 25412918da7e74b2686b25d62da1f01cfcd27680
Date: 2025-11-06T04:35:14.424Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100
Remote-SSH: 1.0.34

Does this stop you from using Cursor

Yes - Cursor is unusable

@ravirahman could you please take a look at this problem?

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.