SSH connection failed

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

2025-09-24 12:03:35.603 [info] Resolving ssh remote authority ‘Dev-VPS’ (Unparsed ‘ssh-remote+7b22686f73744e616d65223a224465762d565053227d’) (attempt #1)
2025-09-24 12:03:35.603 [info] SSH askpass server listening on port 49966
2025-09-24 12:03:35.603 [info] Using configured platform linux for remote host Dev-VPS
2025-09-24 12:03:35.604 [info] Using askpass script: c:\Users\Administrator.cursor\extensions\anysphere.remote-ssh-1.0.32\dist\scripts\launchSSHAskpass.bat with javascript file c:\Users\Administrator.cursor\extensions\anysphere.remote-ssh-1.0.32\dist\scripts\sshAskClient.js. Askpass handle: 49966
2025-09-24 12:03:35.632 [info] Launching SSH server via shell with command: type “C:\Users\ADMINI~1\AppData\Local\Temp\2\cursor_remote_install_9d8ade48-4a8e-4def-91e4-6a2546dab002.sh” | ssh -T -D 49967 Dev-VPS bash --login -c bash
2025-09-24 12:03:35.633 [info] Establishing SSH connection: type “C:\Users\ADMINI~1\AppData\Local\Temp\2\cursor_remote_install_9d8ade48-4a8e-4def-91e4-6a2546dab002.sh” | ssh -T -D 49967 Dev-VPS bash --login -c bash
2025-09-24 12:03:35.633 [info] Started installation script. Waiting for it to finish…
2025-09-24 12:03:35.633 [info] Waiting for server to install. Timeout: 30000ms
2025-09-24 12:04:05.638 [error] Error installing server: Failed to install server within the timeout
2025-09-24 12:04:05.638 [info] Deleting local script C:\Users\ADMINI~1\AppData\Local\Temp\2\cursor_remote_install_9d8ade48-4a8e-4def-91e4-6a2546dab002.sh
2025-09-24 12:04:05.639 [error] Error deleting random file C:\Users\ADMINI~1\AppData\Local\Temp\2\cursor_remote_install_9d8ade48-4a8e-4def-91e4-6a2546dab002.sh: Error: EBUSY: resource busy or locked, unlink ‘C:\Users\ADMINI~1\AppData\Local\Temp\2\cursor_remote_install_9d8ade48-4a8e-4def-91e4-6a2546dab002.sh’
2025-09-24 12:04:05.640 [error] Error resolving SSH authority Failed to install server within the timeout

Steps to Reproduce

  1. Click the button of “Open a Remote Windows” at the left bottom of cursor Interface
  2. Select “Connect to Hosts” on dropdown menu.
  3. Cursor Open new windows automatically.

Expected Behavior

Connect SSH successfully.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.4.5 (user setup)
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.20348

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @milojeBtc, could you set the setting remote.SSH.logLevel to “verbose”, and then try again? These will generate more logs which should hopefully help identity the issue.

Could you also check whether you are able to connect to your remote server outside of Cursor with the following command? The logs are a bit sparse, but it looks like it might be hanging on trying to establish the SSH connection to the remote server.

ssh -T -D 49968 Dev-VPS bah --login -c bash

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