Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
As seen by many posts on this forum, SSH does not work for some users. But VSCode works perfectly fine for ssh.
I tried private keys, I tried valid passwords, I tried multiple servers, i had no .cursor-server to delete.
It was as if the SSH session was sending garbled text instead of my valid creds.
SSH FS FIX:
After an insane amount of debugging i tried using SSH FS in cursor (also works in vscode) and my password worked fine. So definitely something seems to be up with teh remote-ssh extension itself
Unfortunately cursor AI does not seem to see the remote shell SSH FS can open.
Steps to Reproduce
Fresh Install, full config wipes - Host key auth doesn’t see me entering “yes”
Simply set up a server to remote ssh into and it fails with these errors. I’m typing Yes to accept the host key and it’s not recognizing that
2025-12-17 09:02:24.991 [error] Error installing server: Failed to connect to the remote SSH host. Please check the logs for more details.
2025-12-17 09:02:24.991 [info] Deleting local script C:\Users\sdfghsdfg\AppData\Local\Temp\cursor_remote_install_5ef54687-b67a-4da9-8297-3da392e4e9fd.sh
2025-12-17 09:02:24.994 [error] Error resolving SSH authority Failed to connect to the remote SSH host. Please check the logs for more details.
2025-12-17 09:04:34.445 [info] Started installation script. Waiting for it to finish...
2025-12-17 09:04:34.445 [info] Waiting for server to install. Timeout: 30000ms
2025-12-17 09:04:36.350 [info] Askpass server received request: POST /
2025-12-17 09:04:36.351 [info] Askpass server received request body: {"request":"The authenticity of host 'driv-vch4-dev21 (10.13.157.91)' can't be established."}
2025-12-17 09:04:36.352 [info] Pausing timeout; waiting for askpass response
2025-12-17 09:04:36.352 [info] Received SSH askpass request: The authenticity of host 'driv-vch4-dev21 (10.13.157.91)' can't be established.
2025-12-17 09:04:40.322 [info] Resuming timeout; askpass response received
2025-12-17 09:04:40.343 [info] (ssh_tunnel) stderr: Host key verification failed.
I originally was seeing (when i hadnt’ wiped a bunch of stuff)
The client ignores /garbles the text inputted for both passkey and password.
2025-12-17 07:40:38.477 [info] Resolving ssh remote authority ‘driv-vch4-dev21’ (Unparsed ‘ssh-remote+7b22686f73744e616d65223a22647269762d766368342d6465763231227d’) (attempt #1)
2025-12-17 07:40:38.477 [info] SSH askpass server listening on port 57740
2025-12-17 07:40:38.477 [info] Using configured platform linux for remote host driv-vch4-dev21
2025-12-17 07:40:38.478 [info] Using askpass script: c:\Users\myusername.cursor\extensions\anysphere.remote-ssh-1.0.35\dist\scripts\launchSSHAskpass.bat with javascript file c:\Users\myusername.cursor\extensions\anysphere.remote-ssh-1.0.35\dist\scripts\sshAskClient.js. Askpass handle: 57740
2025-12-17 07:40:38.512 [info] Launching SSH server via shell with command: type “C:\Users\myusername\AppData\Local\Temp\cursor_remote_install_34314165-76c0-490d-bf40-ffccb839e1fa.sh” | ssh -T -D 57741 driv-vch4-dev21 bash --login -c bash
2025-12-17 07:40:38.512 [info] Establishing SSH connection: type “C:\Users\myusername\AppData\Local\Temp\cursor_remote_install_34314165-76c0-490d-bf40-ffccb839e1fa.sh” | ssh -T -D 57741 driv-vch4-dev21 bash --login -c bash
2025-12-17 07:40:38.512 [info] Started installation script. Waiting for it to finish…
2025-12-17 07:40:38.512 [info] Waiting for server to install. Timeout: 30000ms
2025-12-17 07:40:38.956 [info] Askpass server received request: POST /
2025-12-17 07:40:38.957 [info] Askpass server received request body: {“request”:"Enter passphrase for key ‘C:/Users/myusername/alma10_key’: "}
2025-12-17 07:40:38.957 [info] Pausing timeout; waiting for askpass response
2025-12-17 07:40:38.957 [info] Received SSH askpass request: Enter passphrase for key ‘C:/Users/myusername/alma10_key’:
2025-12-17 07:40:41.326 [info] Resuming timeout; askpass response received
2025-12-17 07:40:41.539 [info] Askpass server received request: POST /
2025-12-17 07:40:41.540 [info] Askpass server received request body: {“request”:"myusername@driv-vch4-dev21’s password: "}
2025-12-17 07:40:41.540 [info] Pausing timeout; waiting for askpass response
2025-12-17 07:40:41.540 [info] Received SSH askpass request: myusername@driv-vch4-dev21’s password:
2025-12-17 07:40:44.284 [info] Resuming timeout; askpass response received
2025-12-17 07:40:44.313 [info] (ssh_tunnel) stderr: Permission denied, please try again.
2025-12-17 07:40:44.490 [info] Askpass server received request: POST /
2025-12-17 07:40:44.490 [info] Askpass server received request body: {“request”:"myusername@driv-vch4-dev21’s password: "}
2025-12-17 07:40:44.490 [info] Pausing timeout; waiting for askpass response
2025-12-17 07:40:44.490 [info] Received SSH askpass request: myusername@driv-vch4-dev21’s password:
2025-12-17 07:40:46.580 [info] Resuming timeout; askpass response received
2025-12-17 07:40:46.608 [info] (ssh_tunnel) stderr: Permission denied, please try again.
2025-12-17 07:40:46.790 [info] Askpass server received request: POST /
2025-12-17 07:40:46.790 [info] Askpass server received request body: {“request”:"myusername@driv-vch4-dev21’s password: "}
2025-12-17 07:40:46.790 [info] Pausing timeout; waiting for askpass response
2025-12-17 07:40:46.790 [info] Received SSH askpass request: myusername@driv-vch4-dev21’s password:
2025-12-17 07:40:48.315 [info] Resuming timeout; askpass response received
2025-12-17 07:40:48.344 [info] (ssh_tunnel) stderr: myusername@driv-vch4-dev21: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
2025-12-17 07:40:48.346 [info] (ssh_tunnel) stderr: The process tried to write to a nonexistent pipe.
2025-12-17 07:40:48.352 [error] Error installing server: Failed to connect to the remote SSH host. Please check the logs for more details.
2025-12-17 07:40:48.352 [info] Deleting local script C:\Users\myusername\AppData\Local\Temp\cursor_remote_install_34314165-76c0-490d-bf40-ffccb839e1fa.sh
2025-12-17 07:40:48.356 [error] Error resolving SSH authority Failed to connect to the remote SSH host. Please check the logs for more details.
Expected Behavior
It should work.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version 2.2.20
VSCode 1.105.1
Also happens on nightly.
Does this stop you from using Cursor
Yes - Cursor is unusable