Cursor connect remote Linux server error

Resolving ssh remote authority ‘cursor-remote’ (Unparsed ‘ssh-remote+7b22686f73744e616d65223a22637572736f722d72656d6f7465227d’) (attempt #1)

2026-01-04 20:29:47.993 [info] SSH askpass server listening on port 59301

2026-01-04 20:29:47.993 [info] Using configured platform linux for remote host cursor-remote

2026-01-04 20:29:47.995 [info] Using askpass script: c:\Users\mediaX\.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\scripts\launchSSHAskpass.bat with javascript file c:\Users\mediaX\.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\scripts\sshAskClient.js. Askpass handle: 59301

2026-01-04 20:29:48.012 [info] Launching SSH server via shell with command: type “C:\Users\mediaX\AppData\Local\Temp\cursor_remote_install_2a909cdd-761d-4794-abcf-964c5838b2fb.sh” | ssh -T -D 59302 cursor-remote bash --login -c bash

2026-01-04 20:29:48.012 [info] Establishing SSH connection: type “C:\Users\mediaX\AppData\Local\Temp\cursor_remote_install_2a909cdd-761d-4794-abcf-964c5838b2fb.sh” | ssh -T -D 59302 cursor-remote bash --login -c bash

2026-01-04 20:29:48.012 [info] Started installation script. Waiting for it to finish…

2026-01-04 20:29:48.012 [info] Waiting for server to install. Timeout: 30000ms

2026-01-04 20:30:18.018 [error] Error installing server: Failed to install server within the timeout

2026-01-04 20:30:18.018 [info] Deleting local script C:\Users\mediaX\AppData\Local\Temp\cursor_remote_install_2a909cdd-761d-4794-abcf-964c5838b2fb.sh

2026-01-04 20:30:18.018 [error] Error deleting random file C:\Users\mediaX\AppData\Local\Temp\cursor_remote_install_2a909cdd-761d-4794-abcf-964c5838b2fb.sh: Error: EBUSY: resource busy or locked, unlink ‘C:\Users\mediaX\AppData\Local\Temp\cursor_remote_install_2a909cdd-761d-4794-abcf-964c5838b2fb.sh’

2026-01-04 20:30:18.021 [error] Error resolving SSH authority Failed to install server within the timeout

why ?

Hey, thanks for the report.

This is a known issue - the old cursor-server process on the remote host is blocking the new installation.

Fix - run on the remote Linux host:

pkill -f .cursor-server
rm -rf ~/.cursor-server /tmp/cursor-remote-lock.* /tmp/cursor-server-*.tar.gz

If 30 seconds isn’t enough for your network, add this to Cursor Settings (JSON):

"remote.SSH.connectTimeout": 120

Similar issue resolved here: Every time after the upgrade, Cursor Remote-SSH times out

Let me know if this helps.

  1. I clear remote server
    (base) root@DESKTOP-BE2FPE6:~# pkill -f .cursor-server
    (base) root@DESKTOP-BE2FPE6:~# rm -rf ~/.cursor-server /tmp/cursor-remote-lock.* /tmp/cursor-server-*.tar.gz

    set timout = 120S

    But still Error:
    2026-01-06 12:49:58.723 [info] Resolving ssh remote authority ‘cursor-remote’ (Unparsed ‘ssh-remote+7b22686f73744e616d65223a22637572736f722d72656d6f7465227d’) (attempt #1)

    2026-01-06 12:49:58.723 [info] SSH askpass server listening on port 51817

    2026-01-06 12:49:58.723 [info] Using configured platform linux for remote host cursor-remote

    2026-01-06 12:49:58.724 [info] Using askpass script: c:\Users\mediaX\.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\scripts\launchSSHAskpass.bat with javascript file c:\Users\mediaX\.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\scripts\sshAskClient.js. Askpass handle: 51817

    2026-01-06 12:49:58.736 [info] Launching SSH server via shell with command: type “C:\Users\mediaX\AppData\Local\Temp\cursor_remote_install_71acb49f-f99e-44bf-b0e7-32cdfced233d.sh” | ssh -T -D 51818 cursor-remote bash --login -c bash

    2026-01-06 12:49:58.736 [info] Establishing SSH connection: type “C:\Users\mediaX\AppData\Local\Temp\cursor_remote_install_71acb49f-f99e-44bf-b0e7-32cdfced233d.sh” | ssh -T -D 51818 cursor-remote bash --login -c bash

    2026-01-06 12:49:58.736 [info] Started installation script. Waiting for it to finish…

    2026-01-06 12:49:58.736 [info] Waiting for server to install. Timeout: 120000ms

    2026-01-06 12:51:58.743 [error] Error installing server: Failed to install server within the timeout

    2026-01-06 12:51:58.743 [info] Deleting local script C:\Users\mediaX\AppData\Local\Temp\cursor_remote_install_71acb49f-f99e-44bf-b0e7-32cdfced233d.sh

    2026-01-06 12:51:58.743 [error] Error deleting random file C:\Users\mediaX\AppData\Local\Temp\cursor_remote_install_71acb49f-f99e-44bf-b0e7-32cdfced233d.sh: Error: EBUSY: resource busy or locked, unlink ‘C:\Users\mediaX\AppData\Local\Temp\cursor_remote_install_71acb49f-f99e-44bf-b0e7-32cdfced233d.sh’

    2026-01-06 12:51:58.745 [error] Error resolving SSH authority Failed to install server within the timeout

    the system not prompt me to enter password

    1. My Server is WSL2 , I can connect WSL2, but I can not select my wsl miniconda env
    2. So I connet server direct ,I can run VSCode success