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”:"[email protected]’s password: "}
[info] Pausing timeout; waiting for askpass response
[info] Received SSH askpass request: [email protected]’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]