DNS resolution failed on the remote host, preventing the Cursor Server from being downloaded, and the SSH connection preparation phase was interrupted

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When connecting to the remote host over SSH, DNS resolution failed, preventing the Cursor Server from being downloaded; subsequently, the installer package uploaded from the local machine was corrupted during decoding/extraction (tar/gzip failure), causing the Cursor remote server installation to fail and interrupting the SSH connection preparation phase. It worked prior to the update around Aug 25, and the issue appeared after that update.

Steps to Reproduce

2025-08-28 13:38:51.055 [info] Resolving ssh remote authority ‘234’ (Unparsed ‘ssh-remote+7b22686f73744e616d65223a22323334227d’) (attempt #1)
2025-08-28 13:38:51.055 [info] SSH askpass server listening on port 10727
2025-08-28 13:38:51.055 [info] Using configured platform linux for remote host 234
2025-08-28 13:38:51.055 [info] Using askpass script: c:\Users\XT_GaoHang.cursor\extensions\anysphere.remote-ssh-1.0.27\dist\scripts\launchSSHAskpass.bat with javascript file c:\Users\XT_GaoHang.cursor\extensions\anysphere.remote-ssh-1.0.27\dist\scripts\sshAskClient.js. Askpass handle: 10727
2025-08-28 13:38:51.067 [info] Launching SSH server via shell with command: type “C:\Users\XT_GAO~1\AppData\Local\Temp\cursor_remote_install_eb4e1dc2-bc7c-43c8-9ce5-3ae28fc995b7.sh” | ssh -T -D 10728 234 bash --login -c bash
2025-08-28 13:38:51.067 [info] Establishing SSH connection: type “C:\Users\XT_GAO~1\AppData\Local\Temp\cursor_remote_install_eb4e1dc2-bc7c-43c8-9ce5-3ae28fc995b7.sh” | ssh -T -D 10728 234 bash --login -c bash
2025-08-28 13:38:51.067 [info] Started installation script. Waiting for it to finish…
2025-08-28 13:38:51.067 [info] Waiting for server to install…
2025-08-28 13:38:51.268 [info] Askpass server received request: POST /
2025-08-28 13:38:51.269 [info] Askpass server received request body: {"request":"[email protected]’s password: "}
2025-08-28 13:38:51.269 [info] Received SSH askpass request: [email protected]’s password:
2025-08-28 13:38:53.361 [info] (ssh_tunnel) stdout: Configuring Cursor Server on Remote

2025-08-28 13:38:53.365 [info] (ssh_tunnel) stdout: Using TMP_DIR: /run/user/1000

2025-08-28 13:38:53.408 [info] (ssh_tunnel) stdout: Locking /run/user/1000/cursor-remote-lock.d75f38f088f95adbf3c136e5672c31f6

2025-08-28 13:38:53.413 [info] (ssh_tunnel) stdout: Downloading server via wget from https://downloads.cursor.com/production/6aa7b3af0d578b9a3aa3ab443571e1a51ebb4e83/linux/arm64/cursor-reh-linux-arm64.tar.gz to cursor-server-5c444d47-f06f-4a21-8c16-b4d976a66fed.tar.gz

2025-08-28 13:38:53.419 [info] (ssh_tunnel) stderr: --2025-08-28 13:38:40-- https://downloads.cursor.com/production/6aa7b3af0d578b9a3aa3ab443571e1a51ebb4e83/linux/arm64/cursor-reh-linux-arm64.tar.gz

2025-08-28 13:38:53.421 [info] (ssh_tunnel) stderr: Resolving host downloads.cursor.com (downloads.cursor.com)…
2025-08-28 13:38:53.422 [info] (ssh_tunnel) stderr: Failed: Temporary failure in name resolution.
wget: unable to resolve host address “downloads.cursor.com

2025-08-28 13:38:53.423 [info] (ssh_tunnel) stdout: b2b9a481f507bfac7bd2e2e2: start
exitCode==1==
nodeExecutable==/home/chaoyue/.cursor-server/bin/6aa7b3af0d578b9a3aa3ab443571e1a51ebb4e80/node==
multiplexListeningOn====
multiplexConnectionToken====
codeListeningOn====
errorMessage==Download failed: Error downloading server from https://downloads.cursor.com/production/6aa7b3af0d578b9a3aa3ab443571e1a51ebb4e83/linux/arm64/cursor-reh-linux-arm64.tar.gz==
isFatalError==false==
codeConnectionToken====
detectedPlatform==linux==
arch==arm64==
SSH_AUTH_SOCK====
b2b9a481f507bfac7bd2e2e2: end

2025-08-28 13:38:53.427 [info] Server install command exit code: 1
2025-08-28 13:38:53.427 [info] Download failed: Download failed: Error downloading server from https://downloads.cursor.com/production/6aa7b3af0d578b9a3aa3ab443571e1a51ebb4e83/linux/arm64/cursor-reh-linux-arm64.tar.gz. Downloading server locally and copying it over…
2025-08-28 13:38:53.427 [info] Downloading server from https://downloads.cursor.com/production/6aa7b3af0d578b9a3aa3ab443571e1a51ebb4e83/linux/arm64/cursor-reh-linux-arm64.tar.gz to C:\Users\XT_GAO~1\AppData\Local\Temp\cursor-server-5934b5f1-69cf-45be-9cfa-8b0f7e7ab2e6.tar.gz
2025-08-28 13:38:53.427 [info] (ssh_tunnel) stdout: Unlocking /run/user/1000/cursor-remote-lock.d75f38f088f95adbf3c136e5672c31f6

2025-08-28 13:39:45.289 [info] Downloaded server locally to C:\Users\XT_GAO~1\AppData\Local\Temp\cursor-server-5934b5f1-69cf-45be-9cfa-8b0f7e7ab2e6.tar.gz. Copying to remote host at ~/.cursor-server/cursor-server-a98e9d76-6e04-4863-b58c-0f071024d808.tar.gz
2025-08-28 13:39:45.465 [info] Base64-encoding local file C:\Users\XT_GAO~1\AppData\Local\Temp\cursor-server-5934b5f1-69cf-45be-9cfa-8b0f7e7ab2e6.tar.gz to temp file C:\Users\XT_GAO~1\AppData\Local\Temp\cursor_remote_copy_02bf0a89-4160-427e-ac7b-8ad89fb51d24.b64
2025-08-28 13:39:45.532 [info] Copying file to remote via SSH: Get-Content -Raw “C:\Users\XT_GAO~1\AppData\Local\Temp\cursor_remote_copy_02bf0a89-4160-427e-ac7b-8ad89fb51d24.b64” | ssh -T 234 "bash -c 'cat | (tr -d “[:space:]" || true) | (base64 -d 2>/dev/null || base64 -D || true) > $HOME/.cursor-server/cursor-server-a98e9d76-6e04-4863-b58c-0f071024d808.tar.gz”`'”
2025-08-28 13:39:46.314 [info] Askpass server received request: POST /
2025-08-28 13:39:46.315 [info] Askpass server received request body: {"request":"[email protected]’s password: "}
2025-08-28 13:39:46.315 [info] Received SSH askpass request: [email protected]’s password:
2025-08-28 13:39:48.951 [info] [copyToRemote][stderr]: base64: invalid option – D
2025-08-28 13:39:48.951 [info] [copyToRemote][stderr]: Try “base64 --help” for more information.
2025-08-28 13:39:49.080 [info] Deleted local server file C:\Users\XT_GAO~1\AppData\Local\Temp\cursor-server-5934b5f1-69cf-45be-9cfa-8b0f7e7ab2e6.tar.gz
2025-08-28 13:39:49.080 [info] Successfully SCP’d server to the remote host. Reattempting to connect
2025-08-28 13:39:49.080 [info] Deleting local script C:\Users\XT_GAO~1\AppData\Local\Temp\cursor_remote_install_eb4e1dc2-bc7c-43c8-9ce5-3ae28fc995b7.sh
2025-08-28 13:39:49.081 [info] Using askpass script: c:\Users\XT_GaoHang.cursor\extensions\anysphere.remote-ssh-1.0.27\dist\scripts\launchSSHAskpass.bat with javascript file c:\Users\XT_GaoHang.cursor\extensions\anysphere.remote-ssh-1.0.27\dist\scripts\sshAskClient.js. Askpass handle: 10727
2025-08-28 13:39:49.089 [info] Launching SSH server via shell with command: type “C:\Users\XT_GAO~1\AppData\Local\Temp\cursor_remote_install_b0eb98d9-29d7-440b-8a2a-4090f300ea67.sh” | ssh -T -D 10803 234 bash --login -c bash
2025-08-28 13:39:49.089 [info] Establishing SSH connection: type “C:\Users\XT_GAO~1\AppData\Local\Temp\cursor_remote_install_b0eb98d9-29d7-440b-8a2a-4090f300ea67.sh” | ssh -T -D 10803 234 bash --login -c bash
2025-08-28 13:39:49.090 [info] Started installation script. Waiting for it to finish…
2025-08-28 13:39:49.090 [info] Waiting for server to install…
2025-08-28 13:39:49.278 [info] Askpass server received request: POST /
2025-08-28 13:39:49.279 [info] Askpass server received request body: {"request":"[email protected]’s password: "}
2025-08-28 13:39:49.279 [info] Received SSH askpass request: [email protected]’s password:
2025-08-28 13:40:07.875 [info] (ssh_tunnel) stdout: Configuring Cursor Server on Remote

2025-08-28 13:40:07.879 [info] (ssh_tunnel) stdout: Using TMP_DIR: /run/user/1000

2025-08-28 13:40:07.921 [info] (ssh_tunnel) stdout: Locking /run/user/1000/cursor-remote-lock.d75f38f088f95adbf3c136e5672c31f6

2025-08-28 13:40:07.924 [info] (ssh_tunnel) stdout: Found existing server archive at /home/chaoyue/.cursor-server/cursor-server-a98e9d76-6e04-4863-b58c-0f071024d808.tar.gz, using it instead of downloading

2025-08-28 13:40:07.926 [info] (ssh_tunnel) stdout: Extracting server contents from cursor-server-e3836de8-22eb-456e-998c-22a3d10db9b1.tar.gz

2025-08-28 13:40:07.928 [info] (ssh_tunnel) stderr: tar: It does not look like a tar archive

2025-08-28 13:40:07.929 [info] (ssh_tunnel) stderr:
gzip: stdin: unexpected end of file

2025-08-28 13:40:07.930 [info] (ssh_tunnel) stderr: tar: Child returned status 1
tar: Error is not recoverable: exiting now

2025-08-28 13:40:07.930 [info] (ssh_tunnel) stdout: b1867d0b4095990ab8f9069d: start
exitCode==1==
nodeExecutable==/home/chaoyue/.cursor-server/bin/6aa7b3af0d578b9a3aa3ab443571e1a51ebb4e80/node==
multiplexListeningOn====
multiplexConnectionToken====
codeListeningOn====
errorMessage==Tar failed to extract server contents from cursor-server-e3836de8-22eb-456e-998c-22a3d10db9b1.tar.gz==
isFatalError==false==
codeConnectionToken====

2025-08-28 13:40:07.931 [info] (ssh_tunnel) stdout: detectedPlatform==linux==
arch==arm64==
SSH_AUTH_SOCK====
b1867d0b4095990ab8f9069d: end

2025-08-28 13:40:07.933 [info] Server install command exit code: 1
2025-08-28 13:40:07.933 [error] Error installing server: Couldn’t install Cursor Server, install script returned non-zero exit status: Tar failed to extract server contents from cursor-server-e3836de8-22eb-456e-998c-22a3d10db9b1.tar.gz
2025-08-28 13:40:07.933 [info] Deleting local script C:\Users\XT_GAO~1\AppData\Local\Temp\cursor_remote_install_b0eb98d9-29d7-440b-8a2a-4090f300ea67.sh
2025-08-28 13:40:07.934 [info] (ssh_tunnel) stdout: Unlocking /run/user/1000/cursor-remote-lock.d75f38f088f95adbf3c136e5672c31f6

2025-08-28 13:40:07.934 [error] Error resolving SSH authority Couldn’t install Cursor Server, install script returned non-zero exit status: Tar failed to extract server contents from cursor-server-e3836de8-22eb-456e-998c-22a3d10db9b1.tar.gz

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.7 (user setup)
Commit: 1.99.3
Date: 6aa7b3af0d578b9a3aa3ab443571e1a51ebb4e80
Electron: 2025-08-27T22:43:32.248Z
ElectronBuildId: 34.5.8
Chromium: undefined
Node.js: 132.0.6834.210
V8: 20.19.1
OS: 13.2.152.41-electron.0

Does this stop you from using Cursor

Yes - Cursor is unusable

Could you try rebooting the remote host? A new version of the remote server must be downloaded after updating the client. This might reset the DNS state, allowing the connection to go through.

It also looks like it failed to copy the server locally from the client because of an issue with base64. What flavor of linux is your remote system?