# SSH connection fails

**URL:** <https://forum.cursor.com/t/ssh-connection-fails/148687>\
**Category:** Bug Reports\
**Tags:** linux, installation, ssh\
**Created:** [January 12, 2026, 3:46pm UTC](https://forum.cursor.com/t/ssh-connection-fails/148687 "2026-01-12T15:46:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![tianzeliu](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/tianzeliu/32/26585_2.png) [@tianzeliu](https://forum.cursor.com/u/tianzeliu)\
**Post date:** [January 12, 2026, 3:46pm UTC](https://forum.cursor.com/t/ssh-connection-fails/148687/1 "2026-01-12T15:46:39Z")

</div>

SSH connection to a Linux server stopped working. Below are the error logs:

[info] Resolving ssh remote authority ‘poseidon.whoi.edu’ (Unparsed ‘ssh-remote+7b22686f73744e616d65223a22706f736569646f6e2e77686f692e656475227d’) (attempt #1)  
[info] SSH askpass server listening on /var/folders/g\_/v8s66\_f534z8yywg4r5vbcsr0000gn/T/cursor-ssh-6dYCeW/socket.sock  
[debug] hostname: poseidon.whoi.edu, remote platform map: {“poseidon.whoi.edu”:“linux”,“rych.whoi.edu”:“linux”,“fox.educloud.no”:“linux”,“poseidon-l1.whoi.edu”:“linux”}  
[info] Using configured platform linux for remote host poseidon.whoi.edu  
[debug] hostname: poseidon.whoi.edu, remote server install map: {}  
[debug] hostname: poseidon.whoi.edu, server port range map: {}  
[info] Using askpass script: /Users/tianzeliu/.cursor/extensions/anysphere.remote-ssh-1.0.38/dist/scripts/launchSSHAskpass.sh with javascript file /Users/tianzeliu/.cursor/extensions/anysphere.remote-ssh-1.0.38/dist/scripts/sshAskClient.js. Askpass handle: /var/folders/g\_/v8s66\_f534z8yywg4r5vbcsr0000gn/T/cursor-ssh-6dYCeW/socket.sock  
[info] Launching SSH server via shell with command: cat “/var/folders/g\_/v8s66\_f534z8yywg4r5vbcsr0000gn/T/cursor\_remote\_install\_f7361a00-3fa8-4447-bc13-95b4e2338384.sh” | ssh -T -D 53767 poseidon.whoi.edu bash --login -c bash  
[info] Establishing SSH connection: cat “/var/folders/g\_/v8s66\_f534z8yywg4r5vbcsr0000gn/T/cursor\_remote\_install\_f7361a00-3fa8-4447-bc13-95b4e2338384.sh” | ssh -T -D 53767 poseidon.whoi.edu bash --login -c bash  
[info] Started installation script. Waiting for it to finish…  
[info] Waiting for server to install. Timeout: 30000ms  
[info] Askpass server received request: POST /  
[info] Askpass server received request body: {“request”:"tianze.liu@poseidon.whoi.edu’s password: "}  
[info] Pausing timeout; waiting for askpass response  
[info] Received SSH askpass request: tianze.liu@poseidon.whoi.edu’s password:  
[info] Resuming timeout; askpass response received  
[info] (ssh\_tunnel) stdout: Configuring Cursor Server on Remote

[info] (ssh\_tunnel) stdout: Using TMP\_DIR: /run/user/16885

[info] (ssh\_tunnel) stdout: Locking /run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stdout: Install in progress, sleeping for a bit…

[info] (ssh\_tunnel) stderr: ln: failed to create hard link ‘/run/user/16885/cursor-remote-lock.b4c5640da36f4e47affc49b6ef9308fd’: File exists

[info] (ssh\_tunnel) stdout: 3031ab40b3e34eddc3b3aa76: start  
exitCode==1==  
nodeExecutable==/vortexfs1/home/tianze.liu/.cursor-server/bin/linux-x64/4ca9b38c6c97d4243bf0c61e51426667cb964bd0/node==  
multiplexListeningOn====  
multiplexConnectionToken====  
codeListeningOn====  
errorMessage==Could not acquire lock after multiple attempts==  
isFatalError====  
codeConnectionToken====  
detectedPlatform==linux==  
arch==x64==  
SSH\_AUTH\_SOCK====  
DISPLAY====  
3031ab40b3e34eddc3b3aa76: 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: Could not acquire lock after multiple attempts  
at t.installCodeServer (/Users/tianzeliu/.cursor/extensions/anysphere.remote-ssh-1.0.38/dist/main.js:2:958527)  
at process.processTicksAndRejections (node:internal/process/task\_queues:105:5)  
at async /Users/tianzeliu/.cursor/extensions/anysphere.remote-ssh-1.0.38/dist/main.js:2:407565]  
[info] Deleting local script /var/folders/g\_/v8s66\_f534z8yywg4r5vbcsr0000gn/T/cursor\_remote\_install\_f7361a00-3fa8-4447-bc13-95b4e2338384.sh  
[error] Error resolving SSH authority [Error: Couldn’t install Cursor Server, install script returned non-zero exit status: Could not acquire lock after multiple attempts  
at t.installCodeServer (/Users/tianzeliu/.cursor/extensions/anysphere.remote-ssh-1.0.38/dist/main.js:2:958527)  
at process.processTicksAndRejections (node:internal/process/task\_queues:105:5)  
at async /Users/tianzeliu/.cursor/extensions/anysphere.remote-ssh-1.0.38/dist/main.js:2:407565]

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 12, 2026, 7:11pm UTC](https://forum.cursor.com/t/ssh-connection-fails/148687/4 "2026-01-12T19:11:21Z")

</div>

Hey, this is a known issue with an old `cursor-server` process that doesn’t exit automatically and blocks the new install.

Fix: on the remote server, run:

```bash
pkill -f .cursor-server
rm -rf ~/.cursor-server /run/user/16885/cursor-remote-lock.* /tmp/cursor-server-*.tar.gz

```

Then reconnect to the server.

The team is working on automatically cleaning up old processes during updates.

---

<div class="post-metadata">

**Author:** ![tianzeliu](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/tianzeliu/32/26585_2.png) [@tianzeliu](https://forum.cursor.com/u/tianzeliu)\
**Post date:** [January 12, 2026, 9:09pm UTC](https://forum.cursor.com/t/ssh-connection-fails/148687/5 "2026-01-12T21:09:09Z")

</div>

Thanks. `rm -rf ~/.cursor-server` takes awfully long time. Is it normal?

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 13, 2026, 7:32am UTC](https://forum.cursor.com/t/ssh-connection-fails/148687/7 "2026-01-13T07:32:15Z")

</div>

Yes, this can be normal depending on the size and type of the disk on the server.

`~/.cursor-server` can contain hundreds of MB and thousands of small files. If the server uses NFS or network storage (not a local disk), deleting it can take a few minutes.

If you want to speed it up, you can stop `rm` `Ctrl+C` and delete only the critical files:

```bash
pkill -f .cursor-server
rm -rf /run/user/16885/cursor-remote-lock.* /tmp/cursor-server-*.tar.gz

```

Then try reconnecting. You can delete the old `~/.cursor-server` folder later with a background command:

```bash
nohup rm -rf ~/.cursor-server &

```

---

<div class="post-metadata">

**Author:** ![tianzeliu](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/tianzeliu/32/26585_2.png) [@tianzeliu](https://forum.cursor.com/u/tianzeliu)\
**Post date:** [January 23, 2026, 4:47pm UTC](https://forum.cursor.com/t/ssh-connection-fails/148687/8 "2026-01-23T16:47:59Z")

</div>

Even after running the commands, Cursor still fails to install on the remote server. Below are the error messages:

```auto
2026-01-23 11:45:42.350 [info] Resolving ssh remote authority 'hydra.whoi.edu' (Unparsed 'ssh-remote+7b22686f73744e616d65223a2268796472612e77686f692e656475227d') (attempt #1)

2026-01-23 11:45:42.352 [info] SSH askpass server listening on /var/folders/g_/v8s66_f534z8yywg4r5vbcsr0000gn/T/cursor-ssh-55IHwV/socket.sock

2026-01-23 11:45:42.353 [info] Using configured platform linux for remote host hydra.whoi.edu

2026-01-23 11:45:42.357 [info] Using askpass script: /Users/tianzeliu/.cursor/extensions/anysphere.remote-ssh-1.0.38/dist/scripts/launchSSHAskpass.sh with javascript file /Users/tianzeliu/.cursor/extensions/anysphere.remote-ssh-1.0.38/dist/scripts/sshAskClient.js. Askpass handle: /var/folders/g_/v8s66_f534z8yywg4r5vbcsr0000gn/T/cursor-ssh-55IHwV/socket.sock

2026-01-23 11:45:42.362 [info] Launching SSH server via shell with command: cat "/var/folders/g_/v8s66_f534z8yywg4r5vbcsr0000gn/T/cursor_remote_install_63a8087d-ad47-40dc-b40f-c8b9aa7560f7.sh" | ssh -T -D 61196 hydra.whoi.edu bash --login -c bash

2026-01-23 11:45:42.362 [info] Establishing SSH connection: cat "/var/folders/g_/v8s66_f534z8yywg4r5vbcsr0000gn/T/cursor_remote_install_63a8087d-ad47-40dc-b40f-c8b9aa7560f7.sh" | ssh -T -D 61196 hydra.whoi.edu bash --login -c bash

2026-01-23 11:45:42.362 [info] Started installation script. Waiting for it to finish...

2026-01-23 11:45:42.362 [info] Waiting for server to install. Timeout: 30000ms

2026-01-23 11:45:42.589 [info] Askpass server received request: POST /

2026-01-23 11:45:42.589 [info] Askpass server received request body: {"request":"tianze.liu@hydra.whoi.edu's password: "}

2026-01-23 11:45:42.589 [info] Pausing timeout; waiting for askpass response

2026-01-23 11:45:42.589 [info] Received SSH askpass request: tianze.liu@hydra.whoi.edu's password: 

2026-01-23 11:45:48.310 [info] Resuming timeout; askpass response received

2026-01-23 11:46:01.470 [info] (ssh_tunnel) stdout: Configuring Cursor Server on Remote

Using TMP_DIR: /run/user/16885

2026-01-23 11:46:01.645 [info] (ssh_tunnel) stdout: Locking /run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721

Downloading server via wget from https://downloads.cursor.com/production/dc8361355d709f306d5159635a677a571b277bcc/linux/x64/cursor-reh-linux-x64.tar.gz to cursor-server-15dad223-1763-4e89-bf5e-a9c35c57c44f.tar.gz

2026-01-23 11:46:01.645 [info] (ssh_tunnel) stderr: --2026-01-23 11:46:01-- https://downloads.cursor.com/production/dc8361355d709f306d5159635a677a571b277bcc/linux/x64/cursor-reh-linux-x64.tar.gz

2026-01-23 11:46:01.821 [info] (ssh_tunnel) stderr: Resolving downloads.cursor.com (downloads.cursor.com)... 

2026-01-23 11:46:01.824 [info] (ssh_tunnel) stderr: 104.18.17.128, 104.18.16.128, 2606:4700::6812:1080, ...

Connecting to downloads.cursor.com (downloads.cursor.com)|104.18.17.128|:443... connected.

HTTP request sent, awaiting response... 200 OK

Length: 99166302 (95M) [application/gzip]

Saving to: ‘cursor-server-15dad223-1763-4e89-bf5e-a9c35c57c44f.tar.gz’

cursor-server-15dad 0%[] 0 --.-KB/s               

2026-01-23 11:46:02.097 [info] (ssh_tunnel) stderr: 

cursor-server-15dad 54%[=========>] 51.88M 259MB/s               

2026-01-23 11:46:02.274 [info] (ssh_tunnel) stdout: Extracting server contents from cursor-server-15dad223-1763-4e89-bf5e-a9c35c57c44f.tar.gz

2026-01-23 11:46:02.274 [info] (ssh_tunnel) stderr: 

cursor-server-15dad 100%[===================>] 94.57M 273MB/s in 0.3s    

2026-01-23 11:46:02 (273 MB/s) - ‘cursor-server-15dad223-1763-4e89-bf5e-a9c35c57c44f.tar.gz’ saved [99166302/99166302]

2026-01-23 11:46:32.278 [error] Error installing server: Failed to install server within the timeout

2026-01-23 11:46:32.278 [info] Deleting local script /var/folders/g_/v8s66_f534z8yywg4r5vbcsr0000gn/T/cursor_remote_install_63a8087d-ad47-40dc-b40f-c8b9aa7560f7.sh

2026-01-23 11:46:32.281 [error] Error resolving SSH authority Failed to install server within the timeout

```

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 23, 2026, 5:15pm UTC](https://forum.cursor.com/t/ssh-connection-fails/148687/10 "2026-01-23T17:15:17Z")

</div>

I can see the original lock file issue is fixed. The new logs show the lock is acquired successfully and the server starts loading. Now the problem is a timeout during the extraction step.

Since deleting `~/.cursor-server` took a long time, the server is probably using NFS or a network drive, so 30 seconds isn’t enough time to unpack.

Add this in Cursor Settings (JSON):

```json
"remote.SSH.connectTimeout": 120

```

That gives 2 minutes to connect instead of 30 seconds. If that’s still not enough, you can set it higher, like 180 or 240.

Let me know if it helped.

---

<div class="post-metadata">

**Author:** ![tianzeliu](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/tianzeliu/32/26585_2.png) [@tianzeliu](https://forum.cursor.com/u/tianzeliu)\
**Post date:** [January 23, 2026, 6:07pm UTC](https://forum.cursor.com/t/ssh-connection-fails/148687/11 "2026-01-23T18:07:20Z")

</div>

> [@deanrie](#):
>
> `"remote.SSH.connectTimeout": 120`

Thank you. Where can I find the file?

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 23, 2026, 6:15pm UTC](https://forum.cursor.com/t/ssh-connection-fails/148687/13 "2026-01-23T18:15:39Z")

</div>

Hey, this goes in Cursor Settings (the JSON file).

How to open it:

- `CMD/CTRL + Shift + P`
- Type `Preferences: Open User Settings (JSON)`
- Add this line inside the curly braces

Save the file and try reconnecting to SSH.

Let me know if it worked.

---

<div class="post-metadata">

**Author:** ![tianzeliu](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/tianzeliu/32/26585_2.png) [@tianzeliu](https://forum.cursor.com/u/tianzeliu)\
**Post date:** [January 23, 2026, 6:28pm UTC](https://forum.cursor.com/t/ssh-connection-fails/148687/14 "2026-01-23T18:28:06Z")

</div>

Thanks. I have added the line to the file.

I had actually successfully installed Cursor on the server without the fix. I don’t know why it happened, but below is the output:

```auto
2026-01-23 11:48:15.505 [info] Resolving ssh remote authority 'hydra.whoi.edu' (Unparsed 'ssh-remote+7b22686f73744e616d65223a2268796472612e77686f692e656475227d') (attempt #1)

2026-01-23 11:48:15.508 [info] SSH askpass server listening on /var/folders/g_/v8s66_f534z8yywg4r5vbcsr0000gn/T/cursor-ssh-L8WDLb/socket.sock

2026-01-23 11:48:15.508 [info] Using configured platform linux for remote host hydra.whoi.edu

2026-01-23 11:48:15.512 [info] Using askpass script: /Users/tianzeliu/.cursor/extensions/anysphere.remote-ssh-1.0.38/dist/scripts/launchSSHAskpass.sh with javascript file /Users/tianzeliu/.cursor/extensions/anysphere.remote-ssh-1.0.38/dist/scripts/sshAskClient.js. Askpass handle: /var/folders/g_/v8s66_f534z8yywg4r5vbcsr0000gn/T/cursor-ssh-L8WDLb/socket.sock

2026-01-23 11:48:15.517 [info] Launching SSH server via shell with command: cat "/var/folders/g_/v8s66_f534z8yywg4r5vbcsr0000gn/T/cursor_remote_install_87af6eda-5c0b-4e46-86ba-df22f099c123.sh" | ssh -T -D 61368 hydra.whoi.edu bash --login -c bash

2026-01-23 11:48:15.517 [info] Establishing SSH connection: cat "/var/folders/g_/v8s66_f534z8yywg4r5vbcsr0000gn/T/cursor_remote_install_87af6eda-5c0b-4e46-86ba-df22f099c123.sh" | ssh -T -D 61368 hydra.whoi.edu bash --login -c bash

2026-01-23 11:48:15.517 [info] Started installation script. Waiting for it to finish...

2026-01-23 11:48:15.517 [info] Waiting for server to install. Timeout: 30000ms

2026-01-23 11:48:15.760 [info] Askpass server received request: POST /

2026-01-23 11:48:15.760 [info] Askpass server received request body: {"request":"tianze.liu@hydra.whoi.edu's password: "}

2026-01-23 11:48:15.760 [info] Pausing timeout; waiting for askpass response

2026-01-23 11:48:15.760 [info] Received SSH askpass request: tianze.liu@hydra.whoi.edu's password: 

2026-01-23 11:48:28.584 [info] Resuming timeout; askpass response received

2026-01-23 11:48:41.971 [info] (ssh_tunnel) stdout: Configuring Cursor Server on Remote

2026-01-23 11:48:41.986 [info] (ssh_tunnel) stdout: Using TMP_DIR: /run/user/16885

2026-01-23 11:48:42.124 [info] (ssh_tunnel) stdout: Locking /run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721

2026-01-23 11:48:42.147 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:42.147 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:43.170 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:43.170 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:44.188 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:44.188 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:45.210 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:45.210 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:46.229 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:46.230 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:47.249 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:47.250 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:48.270 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:48.271 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:49.406 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:49.406 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:50.387 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:50.388 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:51.347 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:51.347 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:52.351 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:52.351 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:53.372 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:53.372 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:54.392 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:54.392 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:55.413 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:55.413 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:56.432 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:56.433 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:57.452 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:57.453 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:58.516 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:58.517 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:48:59.493 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:48:59.494 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:49:00.513 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:49:00.513 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:49:01.532 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:49:01.532 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:49:02.554 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:49:02.554 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:49:03.687 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:49:03.688 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:49:04.620 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:49:04.621 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:49:05.615 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:49:05.615 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:49:06.636 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:49:06.637 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:49:07.656 [info] (ssh_tunnel) stderr: ln: failed to create hard link '/run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721': File exists

2026-01-23 11:49:07.658 [info] (ssh_tunnel) stdout: Install in progress, sleeping for a bit...

2026-01-23 11:49:08.672 [info] (ssh_tunnel) stdout: Server script already installed in /user/tianze.liu/.cursor-server/bin/linux-x64/dc8361355d709f306d5159635a677a571b277bc0/bin/cursor-server

Checking node executable

2026-01-23 11:49:08.683 [info] (ssh_tunnel) stdout: v20.18.2

2026-01-23 11:49:08.772 [info] (ssh_tunnel) stdout: Checking for running multiplex server: /user/tianze.liu/.cursor-server/bin/multiplex-server/3ce73d09cffc8f33c6d911e972bd0f6dabbe3e26e810844be8060e6b10987db8.js

2026-01-23 11:49:08.815 [info] (ssh_tunnel) stdout: Running multiplex server: 2026488 /user/tianze.liu/.cursor-server/bin/linux-x64/dc8361355d709f306d5159635a677a571b277bc0/node /user/tianze.liu/.cursor-server/bin/multiplex-server/3ce73d09cffc8f33c6d911e972bd0f6dabbe3e26e810844be8060e6b10987db8.js e095d50a-e22e-4c3c-b815-60b2b8a574c8 0

2026-01-23 11:49:08.824 [info] (ssh_tunnel) stdout: Multiplex server script is already running /user/tianze.liu/.cursor-server/bin/multiplex-server/3ce73d09cffc8f33c6d911e972bd0f6dabbe3e26e810844be8060e6b10987db8.js. Running processes are 2026488 /user/tianze.liu/.cursor-server/bin/linux-x64/dc8361355d709f306d5159635a677a571b277bc0/node /user/tianze.liu/.cursor-server/bin/multiplex-server/3ce73d09cffc8f33c6d911e972bd0f6dabbe3e26e810844be8060e6b10987db8.js e095d50a-e22e-4c3c-b815-60b2b8a574c8 0

Reading multiplex server token file /run/user/16885/cursor-remote-multiplex.token.18ee7b5bf543074fae75854e34907721.3ce73d09cffc8f33c6d911e972bd0f6dabbe3e26e810844be8060e6b10987db8

Multiplex server token file found

2026-01-23 11:49:08.829 [info] (ssh_tunnel) stdout: Reading multiplex server log file /run/user/16885/cursor-remote-multiplex.log.18ee7b5bf543074fae75854e34907721.3ce73d09cffc8f33c6d911e972bd0f6dabbe3e26e810844be8060e6b10987db8

2026-01-23 11:49:08.836 [info] (ssh_tunnel) stdout: Checking for code servers

2026-01-23 11:49:08.879 [info] (ssh_tunnel) stdout: Code server script is already running /user/tianze.liu/.cursor-server/bin/linux-x64/dc8361355d709f306d5159635a677a571b277bc0/bin/cursor-server. Running processes are 2026528 sh /user/tianze.liu/.cursor-server/bin/linux-x64/dc8361355d709f306d5159635a677a571b277bc0/bin/cursor-server --start-server --host=127.0.0.1 --port 0 --connection-token-file /run/user/16885/cursor-remote-code.token.18ee7b5bf543074fae75854e34907721 --telemetry-level off --enable-remote-auto-shutdown --accept-server-license-terms

2026-01-23 11:49:08.884 [info] (ssh_tunnel) stdout: Code server log file is /run/user/16885/cursor-remote-code.log.18ee7b5bf543074fae75854e34907721

2026-01-23 11:49:08.900 [info] (ssh_tunnel) stdout: 1c69a9b28481692cd11ad569: start

exitCode==0==

nodeExecutable==/user/tianze.liu/.cursor-server/bin/linux-x64/dc8361355d709f306d5159635a677a571b277bc0/node==

errorMessage====

isFatalError==false==

multiplexListeningOn==34607==

multiplexConnectionToken==e095d50a-e22e-4c3c-b815-60b2b8a574c8==

codeListeningOn==46621==

codeConnectionToken==54db453b-5612-4e75-ab0f-896a191651fb==

detectedPlatform==linux==

arch==x64==

SSH_AUTH_SOCK====

DISPLAY====

1c69a9b28481692cd11ad569: end

2026-01-23 11:49:08.902 [info] Server install command exit code: 0

2026-01-23 11:49:08.902 [info] Deleting local script /var/folders/g_/v8s66_f534z8yywg4r5vbcsr0000gn/T/cursor_remote_install_87af6eda-5c0b-4e46-86ba-df22f099c123.sh

2026-01-23 11:49:08.903 [info] [forwarding][code] creating new forwarding server

2026-01-23 11:49:08.904 [info] [forwarding][code] server listening on 127.0.0.1:61415

2026-01-23 11:49:08.904 [info] [forwarding][code] Set up server

2026-01-23 11:49:08.904 [info] [remote-ssh] codeListeningOn (remote=127.0.0.1:46621; local=127.0.0.1:61415) codeConnectionToken: 54db453b-5612-4e75-ab0f-896a191651fb

2026-01-23 11:49:08.904 [info] [forwarding][multiplex] creating new forwarding server

2026-01-23 11:49:08.904 [info] [forwarding][multiplex] server listening on 127.0.0.1:61416

2026-01-23 11:49:08.904 [info] [forwarding][multiplex] Set up server

2026-01-23 11:49:08.906 [info] [remote-ssh] multiplexListeningOn (remote=[object Object]; local=[object Object]) multiplexConnectionToken: e095d50a-e22e-4c3c-b815-60b2b8a574c8

2026-01-23 11:49:08.906 [info] [remote-ssh] Pinging remote server via 127.0.0.1:61416...

2026-01-23 11:49:08.906 [info] [remote-ssh] Resolved exec server. Socks port: 61368

2026-01-23 11:49:08.906 [info] Setting up 0 default forwarded ports

2026-01-23 11:49:08.906 [info] [remote-ssh] Resolved authority: {"host":"127.0.0.1","port":61415,"connectionToken":"54db453b-5612-4e75-ab0f-896a191651fb","extensionHostEnv":{}}. Socks port: 61368

2026-01-23 11:49:08.907 [info] [command][a2915ed2-bb84-467b-ac4a-caf5eff6edcd] Sending command request: {"command":"echo","args":["1"],"env":{},"token":"e095d50a-e22e-4c3c-b815-60b2b8a574c8","id":"a2915ed2-bb84-467b-ac4a-caf5eff6edcd"}

2026-01-23 11:49:08.908 [info] [forwarding][multiplex][127.0.0.1:61416 -> 127.0.0.1:34607][0c1c5e6d-1acf-47e2-8bdc-354526a13ad3] received connection request

2026-01-23 11:49:08.912 [info] (ssh_tunnel) stdout: Unlocking /run/user/16885/cursor-remote-lock.18ee7b5bf543074fae75854e34907721

2026-01-23 11:49:08.917 [info] [forwarding][multiplex][127.0.0.1:61416 -> 127.0.0.1:61368 -> 127.0.0.1:34607][0c1c5e6d-1acf-47e2-8bdc-354526a13ad3] socks forwarding established

2026-01-23 11:49:08.920 [info] (ssh_tunnel) stdout:  

***********************************************************************

* This terminal is used to establish and maintain the SSH connection. *

* Closing this terminal will terminate the connection and disconnect *

* Cursor from the remote server. *

***********************************************************************

```

---

<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:** [February 14, 2026, 6:28pm UTC](https://forum.cursor.com/t/ssh-connection-fails/148687/16 "2026-02-14T18:28:49Z")

</div>

Closed on February 14, 2026, 6:28pm UTC

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