Hello there!
I want to use a remote connection to a server, but this server has no direct internet access, only proxy. We can use ssh to connect.
I want to install Cursor Server manually. How can I do this? Is it possible?
The Cursor server is hosted at https://cursor.blob.core.windows.net/remote-releases/${version}-${commit}/vscode-reh-${os}-${arch}.tar.gz
.
For example, for the latest release, the link is https://cursor.blob.core.windows.net/remote-releases/0.11.8-769e57fc532d17f247b121cdf4b6c37f1cccb540/vscode-reh-linux-x64.tar.gz
For every new Cursor update, you would need to update the version and the commit, which may be a little bit tricky.
Thank you. But anyway, how to install and run it manually?
One idea would be to just download from the link above on a separate machine, and then scp
in the cursor server onto your airgapped machine. Would that work?
Yes. There is no problem to transfer tar to the remote server. My question is How to run this server and allow to my Cursor IDE to connect this Cursor Server?
Please help me!
bump
it should simply run automatically when cursor connects over ssh, as long as the server binary is in the expected location, iirc.
Need to check this. this is .cursor-server I suppose
aye, if memory serves the default location is /home/$USER/.cursor-server/bin/${commit}
where ${commit}
is the same identifier as used above in How to install cursor-server manually? - #2 by arvid220u
yup. got it. thank you
I’ve installed the latest version of cursor-server. It starts up fine, and I have my certs and gateway configured fine. When I try to connect to the server, I just get “Forbidden.” I was using some of the instructions I found for the code-server installation, but it appears that this isn’t entirely up to date with the latest release. My systemctl status:
â—Ź cursor-server.service - cursor-server
Loaded: loaded (/lib/systemd/system/cursor-server.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-02-14 21:58:01 UTC; 14s ago
Main PID: 92945 (sh)
Tasks: 12 (limit: 38496)
Memory: 24.3M
CGroup: /system.slice/cursor-server.service
├─92945 sh /usr/bin/cursor-server --host 127.0.0.1 --port 8080 --user-data-dir /var/lib/cursor-server --accept-server-license-terms
└─92955 /usr/lib/code-server/node /usr/lib/code-server/out/server-main.js --host 127.0.0.1 --port 8080 --user-data-dir /var/lib/cursor-server --accept-server-license-terms
Feb 14 21:58:01 prod-tools systemd[1]: Started cursor-server.
Feb 14 21:58:01 prod-tools cursor-server[92955]: Server bound to 127.0.0.1:8080 (IPv4)
Feb 14 21:58:01 prod-tools cursor-server[92955]: Extension host agent listening on 8080
Feb 14 21:58:01 prod-tools cursor-server[92955]: [21:58:01]
Feb 14 21:58:01 prod-tools cursor-server[92955]: FaroSystemAppender constructor
Feb 14 21:58:01 prod-tools cursor-server[92955]: [21:58:01] Extension host agent started.
Anyone have any idea what the issue might be?
Thanks