SSH connection Error

Where does the bug appear (feature/product)?

Somewhere else…

Describe the Bug

I can’t connect to SSH host (anysphere.remote-ssh), Version
1.0.36.

Steps to Reproduce

[error] Error installing server: [Error: Failed to connect to the remote SSH host. Please check the logs for more details.
at t.installCodeServer (c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\main.js:2:956162)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.43 (user setup)
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. These SSH errors are often caused by stuck lock files or a broken server install.

Try this:

On the remote Linux host, run:

killall bash
rm -rf ~/.cursor-server /tmp/cursor-remote-lock.* /tmp/cursor-server-*.tar.gz

Then in Cursor, add this to Settings (JSON):

"remote.SSH.connectTimeout": 120

A similar fix helped in this thread: Connecting to Remote-SSH always fails

If the issue still happens, can you share the full logs from the Remote-SSH panel (View > Output > select Remote-SSH in the dropdown)? That should help pinpoint the cause.

Thank you, but I have the same ussue afrer putting your recomendation.

[info] Resolving ssh remote authority ‘155.212.216.169’ (Unparsed ‘ssh-remote+7b22686f73744e616d65223a223135352e3231322e3231362e313639227d’) (attempt #1)
[info] SSH askpass server listening on port 65416
[debug] hostname: 155.212.216.169, remote platform map: {“[email protected]”:“linux”}
[debug] hostname: 155.212.216.169, remote server install map: {}
[debug] hostname: 155.212.216.169, server port range map: {}
[info] Using askpass script: c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\scripts\launchSSHAskpass.bat with javascript file c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\scripts\sshAskClient.js. Askpass handle: 65416
[info] Launching SSH server via shell with command: type “C:\Users\BF7D~1\AppData\Local\Temp\cursor_remote_install_945bcbbf-a750-4bad-b977-9321922c8927.sh” | ssh -T -D 65418 155.212.216.169 bash --login -c bash
[info] Establishing SSH connection: type “C:\Users\BF7D~1\AppData\Local\Temp\cursor_remote_install_945bcbbf-a750-4bad-b977-9321922c8927.sh” | ssh -T -D 65418 155.212.216.169 bash --login -c bash
[info] Started installation script. Waiting for it to finish…
[info] Waiting for server to install. Timeout: 120000ms
[info] (ssh_tunnel) stderr: no such identity: C:\Users\\320\232\320\237\.ssh\id_ed25519: No such file or directory

[info] (ssh_tunnel) stderr: CreateProcessW failed error:2

[info] (ssh_tunnel) stderr: ssh_askpass: posix_spawnp: No such file or directory

[info] (ssh_tunnel) stderr: Permission denied, please try again.

[info] (ssh_tunnel) stderr: CreateProcessW failed error:2

[info] (ssh_tunnel) stderr: ssh_askpass: posix_spawnp: No such file or directory

[info] (ssh_tunnel) stderr: Permission denied, please try again.

[info] (ssh_tunnel) stderr: CreateProcessW failed error:2

[info] (ssh_tunnel) stderr: ssh_askpass: posix_spawnp: No such file or directory

[info] (ssh_tunnel) stderr: [email protected]: Permission denied (publickey,password).

[info] (ssh_tunnel) stderr: ����⪠ ����� � ���������騩 �����.

[error] Error installing server: [Error: Failed to connect to the remote SSH host. Please check the logs for more details.
at t.installCodeServer (c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\main.js:2:956162)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\main.js:2:407565]
[debug] hostname: 155.212.216.169, remote platform map: {“[email protected]”:“linux”}
[info] Selected platform linux for remote host 155.212.216.169
[info] Deleting local script C:\Users\BF7D~1\AppData\Local\Temp\cursor_remote_install_945bcbbf-a750-4bad-b977-9321922c8927.sh
[info] Using askpass script: c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\scripts\launchSSHAskpass.bat with javascript file c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\scripts\sshAskClient.js. Askpass handle: 65416
[info] Launching SSH server via shell with command: type “C:\Users\BF7D~1\AppData\Local\Temp\cursor_remote_install_7799769a-d6e9-4b70-9758-ad4d7af3cfe4.sh” | ssh -T -D 65429 155.212.216.169 bash --login -c bash
[info] Establishing SSH connection: type “C:\Users\BF7D~1\AppData\Local\Temp\cursor_remote_install_7799769a-d6e9-4b70-9758-ad4d7af3cfe4.sh” | ssh -T -D 65429 155.212.216.169 bash --login -c bash
[info] Started installation script. Waiting for it to finish…
[info] Waiting for server to install. Timeout: 120000ms
[info] (ssh_tunnel) stderr: no such identity: C:\Users\\320\232\320\237\.ssh\id_ed25519: No such file or directory

[info] (ssh_tunnel) stderr: CreateProcessW failed error:2

[info] (ssh_tunnel) stderr: ssh_askpass: posix_spawnp: No such file or directory

[info] (ssh_tunnel) stderr: Permission denied, please try again.

[info] (ssh_tunnel) stderr: CreateProcessW failed error:2

[info] (ssh_tunnel) stderr: ssh_askpass: posix_spawnp: No such file or directory

[info] (ssh_tunnel) stderr: Permission denied, please try again.

[info] (ssh_tunnel) stderr: CreateProcessW failed error:2

[info] (ssh_tunnel) stderr: ssh_askpass: posix_spawnp: No such file or directory

[info] (ssh_tunnel) stderr: [email protected]: Permission denied (publickey,password).

[info] (ssh_tunnel) stderr: ����⪠ ����� � ���������騩 �����.

[error] Error installing server: [Error: Failed to connect to the remote SSH host. Please check the logs for more details.
at t.installCodeServer (c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\main.js:2:956162)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\main.js:2:407565]
[info] Deleting local script C:\Users\BF7D~1\AppData\Local\Temp\cursor_remote_install_7799769a-d6e9-4b70-9758-ad4d7af3cfe4.sh
[error] Error resolving SSH authority [Error: Failed to connect to the remote SSH host. Please check the logs for more details.
at t.installCodeServer (c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\main.js:2:956162)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\main.js:2:407565]
[info] Saved platform linux for remote host 155.212.216.169

Thanks for the logs, I can see the issue now.

Your Windows username contains Cyrillic characters (КП), and SSH can’t reliably resolve the key path. In the logs you can see:

no such identity: C:\Users\\320\\232\\320\\237\.ssh\id_ed25519

Please create your SSH keys in a folder without Cyrillic characters (for example C:\ssh-keys), then point to that key in ~\.ssh\config.

This is a known limitation. Non-Latin paths on Windows can cause issues with SSH tooling. Let me know if this fixes it.

Hello! I tried creating C/ssh keys with the keys, but it didn’t help. Here are the new logs: [info] Resolving ssh remote authority ‘beget’ (Unparsed ‘ssh-remote+7b22686f73744e616d65223a226265676574227d’) (attempt #1)
[info] SSH askpass server listening on port 58158
[debug] hostname: beget, remote platform map: {“[email protected]”:“linux”,“155.212.216.169”:“linux”,“beget”:“linux”}
[info] Using configured platform linux for remote host beget
[debug] hostname: beget, remote server install map: {}
[debug] hostname: beget, server port range map: {}
[info] Using askpass script: c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\scripts\launchSSHAskpass.bat with javascript file c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\scripts\sshAskClient.js. Askpass handle: 58158
[info] Launching SSH server via shell with command: type “C:\Users\BF7D~1\AppData\Local\Temp\cursor_remote_install_71169aba-e49f-4837-a357-c2f8a1145ddd.sh” | ssh -T -D 58159 beget bash --login -c bash
[info] Establishing SSH connection: type “C:\Users\BF7D~1\AppData\Local\Temp\cursor_remote_install_71169aba-e49f-4837-a357-c2f8a1145ddd.sh” | ssh -T -D 58159 beget bash --login -c bash
[info] Started installation script. Waiting for it to finish…
[info] Waiting for server to install. Timeout: 120000ms
[info] (ssh_tunnel) stderr: CreateProcessW failed error:2

[info] (ssh_tunnel) stderr: ssh_askpass: posix_spawnp: No such file or directory
Host key verification failed.

[info] (ssh_tunnel) stderr: ����⪠ ����� � ���������騩 �����.

[error] Error installing server: [Error: Failed to connect to the remote SSH host. Please check the logs for more details.
at t.installCodeServer (c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\main.js:2:956162)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\main.js:2:407565]
[info] Deleting local script C:\Users\BF7D~1\AppData\Local\Temp\cursor_remote_install_71169aba-e49f-4837-a357-c2f8a1145ddd.sh
[error] Error resolving SSH authority [Error: Failed to connect to the remote SSH host. Please check the logs for more details.
at t.installCodeServer (c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\main.js:2:956162)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async c:\Users\КП.cursor\extensions\anysphere.remote-ssh-1.0.36\dist\main.js:2:407565] I wanted to reinstall Cursor on the C drive, but Windows has a system “Users” (Пользователи) folder, so the installation goes directly to it, and it’s in Cyrillic. It won’t let me rename it. As far as I understand, this is the whole problem. Nothing helps.

Thanks for the info. Cursor installs extensions under .cursor in your user folder, and Cyrillic characters in the path can break SSH.

The most reliable fix is to create a new Windows user with a Latin-only name and work from that account.