Remote ssh have error

Cursor Server can not be installed successfully.
Connection to Cursor server failed: Couldn’t install Cursor Server, install script returned non-zero exit status: Error downloading server from https://cursor.blob.core.windows.net/remote-releases/53b99ce608cba35127ae3a050c1738a959750860/vscode-reh-linux-x64.tar.gz

Here are the full log:
2025-06-08 16:24:24.795 [info] (ssh_tunnel) stdout: Killing all running Cursor servers

2025-06-08 16:24:24.798 [info] (ssh_tunnel) stdout: No running code servers found

Killing running code servers:

Killing all running multiplex servers

No running multiplex servers found

Killing running multiplex servers:

Removing all existing Cursor installations

removed ‘***/.cursor-server/bin/53b99ce608cba35127ae3a050c1738a959750860/cursor-server-f0548c95-bcf3-4889-a03a-7cfeffa9092d.tar.gz’

removed directory ‘***/.cursor-server/bin/53b99ce608cba35127ae3a050c1738a959750860’

removed directory ‘***/.cursor-server/bin’

2025-06-08 16:24:24.810 [info] (ssh_tunnel) stdout: Locking /tmp/cursor-remote-lock.4c5a6bd097265f59214d30f82ec86148

2025-06-08 16:24:24.815 [info] (ssh_tunnel) stdout: Downloading server via wget from https://cursor.blob.core.windows.net/remote-releases/53b99ce608cba35127ae3a050c1738a959750860/vscode-reh-linux-x64.tar.gz to cursor-server-6da677cc-c538-4665-bf2b-cea95608ab26.tar.gz

2025-06-08 16:24:24.896 [info] (ssh_tunnel) stdout: 2937827f161d4025add4c681: start

exitCode==1==

nodeExecutable==***/.cursor-server/bin/53b99ce608cba35127ae3a050c1738a959750860/node==

multiplexListeningOn====

multiplexConnectionToken====

codeListeningOn====

errorMessage==Error downloading server from https://cursor.blob.core.windows.net/remote-releases/53b99ce608cba35127ae3a050c1738a959750860/vscode-reh-linux-x64.tar.gz==

isFatalError==false==

codeConnectionToken====

detectedPlatform==linux==

SSH_AUTH_SOCK====

2937827f161d4025add4c681: end

Unlocking /tmp/cursor-remote-lock.4c5a6bd097265f59214d30f82ec86148

2025-06-08 16:24:24.897 [info] Server install command exit code: 1

2025-06-08 16:24:24.898 [error] Error installing server: Couldn’t install Cursor Server, install script returned non-zero exit status: Error downloading server from https://cursor.blob.core.windows.net/remote-releases/53b99ce608cba35127ae3a050c1738a959750860/vscode-reh-linux-x64.tar.gz

2025-06-08 16:24:24.898 [error] Error resolving SSH authority Couldn’t install Cursor Server, install script returned non-zero exit status: Error downloading server from https://cursor.blob.core.windows.net/remote-releases/53b99ce608cba35127ae3a050c1738a959750860/vscode-reh-linux-x64.tar.gz

2025-06-08 16:24:24.898 [info] (ssh_tunnel) stderr: --2025-06-08 16:24:25-- https://cursor.blob.core.windows.net/remote-releases/53b99ce608cba35127ae3a050c1738a959750860/vscode-reh-linux-x64.tar.gz

Connecting to 172.16.75.119:3128… failed: Network is unreachable.

2025-06-08 16:24:24.901 [info] (ssh_tunnel) stderr: debug1: client_input_channel_req: channel 2 rtype exit-status reply 0

debug1: client_input_channel_req: channel 2 rtype [email protected] reply 0

main: line 137: 742165 Terminated while true; do

date +%s > “$lockfile”; sleep 1;

done (wd: ~)

2025-06-08 16:24:25.812 [info] (ssh_tunnel) stderr: debug1: channel 2: free: client-session, nchannels 3

debug1: channel 0: free: port listener, nchannels 2

debug1: channel 1: free: port listener, nchannels 1

Transferred: sent 34384, received 6652 bytes, in 1.8 seconds

Bytes per second: sent 18925.0, received 3661.3

debug1: Exit status 1

debug1: channel 0: free: direct-tcpip: listening port 0 for ga40q03 port 22, connect from 127.0.0.1 port 65535 to UNKNOWN port 65536, nchannels 1

Killed by signal 1.

2025-06-08 16:24:25.812 [info] (ssh_tunnel): exit: code=1 signal=null

This is due to an error in the network connection, I could not download the vscode-reh-linux-x64.tar.gz successfully in my slurm system.

So I have downloaded vscode-reh-linux-x64.tar.gz manually and upload it to my hpc. So I wander could I configurate the .cursor_server manually?

Hi @Bocheng-Li, thank you for this request. We just released version 1.0.8 of the Anypshere Remote SSH extension, which supports connecting into remotes that do not have external internet access. It will configure everything automatically. Could you try upgrading to that version and let us know if that works? Thanks!

It works for me, thx for your update!

How can I download it and use it?

@danghieuan it is available in the extension marketplace:

1 Like

I also have the same question in Remote -SSH Version 1.0.13 in the ubuntu 20.04,
errorMessage==Error creating server install directory /home/.cursor-server/bin/979ba33804ac150108481c14e0b5cb970bda3260==

isFatalError====

codeConnectionToken====

detectedPlatform==linux==

arch==arm64==

SSH_AUTH_SOCK====

5a0d130a4a6d5c50c05aebd2: end

2025-06-18 19:48:07.262 [info] Server install command exit code: 1

2025-06-18 19:48:07.262 [error] Error installing server: Couldn’t install Cursor Server, install script returned non-zero exit status: Error creating server install directory /home/gs/.cursor-server/bin/979ba33804ac150108481c14e0b5cb970bda3260

2025-06-18 19:48:07.262 [info] Deleting local script /tmp/cursor_remote_install_29330.sh

2025-06-18 19:48:07.263 [error] Error resolving SSH authority Couldn’t install Cursor Server, install script returned non-zero exit status: Error creating server install directory /home/gs/.cursor-server/bin/979ba33804ac150108481c14e0b5cb970bda3260

2025-06-18 19:48:07.263 [info] (ssh_tunnel): exit: code=1 signal=null

Hi @hongjie_huang,This looks like it might be a permissions issue. Could you share the full logs from the “Remote - SSH” output?

In the remote ssh settings, we have an option to set an an alternative server installation directory in case the home directory does not work.

I’m using a proxy.

I can’t access WSL (but VSCode connects to WSL successfully).

When I access WSL from the terminal, the internet works normally.


Environment:

  • Version: 1.1.6 (user setup)
  • VSCode Version: 1.96.2
  • Commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
  • Date: 2025-06-25T02:20:02.577Z
  • Electron: 34.5.1
  • Chromium: 132.0.6834.210
  • Node.js: 20.19.0
  • V8: 13.2.152.41-electron.0
  • OS: Windows_NT x64 10.0.22000

Error log:

2025-06-27 14:44:58.591 [info] Reloading window

2025-06-27 14:45:01.068 [info] Resolving wsl remote authority 'wsl+Ubuntu' (attempt #1)

2025-06-27 14:45:01.068 [info] Checking output for installServerScript

2025-06-27 14:45:01.068 [info] [wsl exec: installServerScript] Running command

2025-06-27 14:45:01.286 [info] [wsl exec: installServerScript][stderr]: your 131072x1 screen size is bogus. expect trouble

2025-06-27 14:45:21.400 [info] [wsl exec: installServerScript][stderr]: failed: Connection timed out.

2025-06-27 14:45:42.399 [info] [wsl exec: installServerScript][stderr]: failed: Connection timed out.

2025-06-27 14:46:04.399 [info] [wsl exec: installServerScript][stderr]: failed: Connection timed out.

2025-06-27 14:46:04.421 [error] Error installing Cursor server [wsl exec: installServerScript] Command failed with exit code 1: stdout: Killing all running Cursor servers

No running servers found

Killing running servers:

Removing all existing Cursor installations

removed directory '/home/****/.cursor-server/bin/5b19bac7a947f54e4caa3eb7e4c5fbf832389850'

removed directory '/home/****/.cursor-server/bin'

Downloading server from https://cursor.blob.core.windows.net/remote-releases/5b19bac7a947f54e4caa3eb7e4c5fbf832389850/vscode-reh-linux-x64.tar.gz

Error downloading server from https://cursor.blob.core.windows.net/remote-releases/5b19bac7a947f54e4caa3eb7e4c5fbf832389850/vscode-reh-linux-x64.tar.gz

b5c7f728b0c0e6e6db2ea572: start

exitCode==1==

listeningOn====

connectionToken====

arch==x86_64==

platform==Linux==

remoteNodePath==/home/****/.cursor-server/bin/5b19bac7a947f54e4caa3eb7e4c5fbf832389850/node==

b5c7f728b0c0e6e6db2ea572: end