# Anysphere's remote-SSH connection failure：Connection to Cursor server failed: Couldn't install Cursor Server, install script returned non-zero exit status

**URL:** <https://forum.cursor.com/t/anyspheres-remote-ssh-connection-failure-connection-to-cursor-server-failed-couldnt-install-cursor-server-install-script-returned-non-zero-exit-status/101028>\
**Category:** Bug Reports\
**Created:** [June 6, 2025, 9:42am UTC](https://forum.cursor.com/t/anyspheres-remote-ssh-connection-failure-connection-to-cursor-server-failed-couldnt-install-cursor-server-install-script-returned-non-zero-exit-status/101028 "2025-06-06T09:42:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yllwDg463](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/yllwdg463/32/61544_2.png) [@yllwDg463](https://forum.cursor.com/u/yllwDg463)\
**Post date:** [June 6, 2025, 9:42am UTC](https://forum.cursor.com/t/anyspheres-remote-ssh-connection-failure-connection-to-cursor-server-failed-couldnt-install-cursor-server-install-script-returned-non-zero-exit-status/101028/1 "2025-06-06T09:42:34Z")

</div>

Thanks for reporting a bug you have found in Cursor!  
Please add the following info to help us diagnose your issue:

✅ **Check the forum** to ensure the issue hasn’t been reported already  
🐞 Provide a **clear description** of the bug  
🔄 Explain how to **reproduce the bug** (if known)  
📷 Attach **screenshots or recordings** (e.g., `.jpg`, `.png`, `.mp4`).  
💻 Tell us your operating system and your **Cursor version** (e.g., `Windows, 0.x.x`).  
🚫 Tell us if the issue stops you from using Cursor.

After testing, the development machine can successfully establish a remote connection using VS Code.

However, when using Cursor’s anysphere’s remote-ssh for remote connection, an error occurs after entering the password:  
“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/96e5b01ca25f8fbd4c4c10bc69b15f6228c80770/vscode-reh-linux-x64.tar.gz.](https://cursor.blob.core.windows.net/remote-releases/96e5b01ca25f8fbd4c4c10bc69b15f6228c80770/vscode-reh-linux-x64.tar.gz.)”

I found online that others with the same issue resolved it by downgrading Cursor to version 0.48（like [https://forum.cursor.com/t/when-cursor-tries-to-connect-to-the-server-it-keeps-displaying-downloading-vs-code-server-but-it-can-be-connected-quickly-and-easily-on-vscode-whats-wrong/99023）](https://forum.cursor.com/t/when-cursor-tries-to-connect-to-the-server-it-keeps-displaying-downloading-vs-code-server-but-it-can-be-connected-quickly-and-easily-on-vscode-whats-wrong/99023%EF%BC%89). However, the anysphere’s remote-ssh in version 0.48 is useless.

When I tried using MS’s ssh-remote, it directly failed with:  
“Could not establish connection to ‘ip’.”  
This might be due to the company’s development machine not supporting it.

In conclusion, I couldn’t resolve this issue.I have tried cursor0.48,0.50 and 1.0

---

<div class="post-metadata">

**Author:** ![ravirahman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ravirahman/32/20386_2.png) [@ravirahman](https://forum.cursor.com/u/ravirahman)\
**Post date:** [June 6, 2025, 2:39pm UTC](https://forum.cursor.com/t/anyspheres-remote-ssh-connection-failure-connection-to-cursor-server-failed-couldnt-install-cursor-server-install-script-returned-non-zero-exit-status/101028/3 "2025-06-06T14:39:47Z")

</div>

Hi @yllwDg463, could you share the full logs from the “Remote - SSH” output window?

If your remote server requires a proxy to access the internet, you’ll need to first configure this in the settings:

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/f/a/fa0eba84f921730b6fff0682c845d49243abdad2.png)

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [July 6, 2025, 2:39pm UTC](https://forum.cursor.com/t/anyspheres-remote-ssh-connection-failure-connection-to-cursor-server-failed-couldnt-install-cursor-server-install-script-returned-non-zero-exit-status/101028/4 "2025-07-06T14:39:48Z")

</div>

Closed on July 6, 2025, 2:39pm UTC

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