Describe the Bug
After clicking the “Reinstall” button (following a persistent warning related to remote SSH in Cursor), the SSH connection fails with the error:
“Connection to Cursor server failed: Failed to install the Cursor Server. Please check the logs for more details.”
Clicking “Reinstall server” or “Reload window” does not help — the window simply reloads and the same error appears again.
Additional context:
No VPN or proxy is being used.
The Anysphere Remote SSH extension was previously used without issues.
There is sufficient disk space available on the server.
The latest versions of Cursor, Remote SSH, and all dependencies are installed.
The logs show a permission denied error, but the SSH key is correct and was working prior to the reinstall.
Attempts to reinstall the Remote - SSH extension, clear all caches and temporary files, and reinstall Cursor did not resolve the issue.
Steps to Reproduce
Use Cursor with SSH connection (via the Anysphere Remote SSH extension).
Receive a warning that something related to remote SSH needs to be reinstalled.
Ignore the warning for some time.
Eventually click “Reinstall”.
Attempt to reconnect via SSH.
Observe the error:
“Connection to Cursor server failed: Failed to install the Cursor Server. Please check the logs for more details.”
Click “Reinstall server” or “Reload window” — no effect.
Screenshots / Screen Recordings
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.2.4 (user setup)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T17:09:01.383Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.19045
Additional Information
logs:
2025-07-23 10:51:54.472 [info] Resolving ssh remote authority ‘34.51.198.219’ (Unparsed ‘ssh-remote+7b22686f73744e616d65223a2233342e35312e3139382e323139227d’) (attempt #1)
2025-07-23 10:51:54.472 [info] SSH askpass server listening on port 60498
2025-07-23 10:51:54.472 [info] Using configured platform linux for remote host 34.51.198.219
2025-07-23 10:51:54.473 [info] Using askpass script: c:\Users\Даня.cursor\extensions\anysphere.remote-ssh-1.0.23\dist\scripts\launchSSHAskpass.bat with javascript file c:\Users\Даня.cursor\extensions\anysphere.remote-ssh-1.0.23\dist\scripts\sshAskClient.js. Askpass handle: 60498
2025-07-23 10:51:54.483 [info] Launching SSH server via shell with command: type “C:\Users\C182~1\AppData\Local\Temp\cursor_remote_install_95160.sh” | ssh -v -T -D 60499 34.51.198.219 bash --login -c bash
2025-07-23 10:51:54.484 [info] Started installation script. Waiting for it to finish…
2025-07-23 10:51:54.484 [info] Waiting for server to install via process(25192)…
2025-07-23 10:51:54.516 [info] (ssh_tunnel) stderr: OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
2025-07-23 10:51:54.517 [info] (ssh_tunnel) stderr: debug1: Reading configuration data C:\Users\\320\224\320\260\320\275\321\217/.ssh/config
2025-07-23 10:51:54.517 [info] (ssh_tunnel) stderr: debug1: C:\Users\\320\224\320\260\320\275\321\217/.ssh/config line 1: Applying options for 34.51.198.219
2025-07-23 10:51:54.520 [info] (ssh_tunnel) stderr: debug1: Connecting to 34.51.198.219 [34.51.198.219] port 22.
2025-07-23 10:51:54.535 [info] (ssh_tunnel) stderr: debug1: Connection established.
2025-07-23 10:51:54.536 [info] (ssh_tunnel) stderr: debug1: identity file C:\Users\\320\224\320\260\320\275\321\217/.ssh/key_private type -1
2025-07-23 10:51:54.536 [info] (ssh_tunnel) stderr: debug1: identity file C:\Users\\320\224\320\260\320\275\321\217/.ssh/key_private-cert type -1
2025-07-23 10:51:54.536 [info] (ssh_tunnel) stderr: debug1: Local version string SSH-2.0-OpenSSH_for_Windows_9.5
2025-07-23 10:51:54.556 [info] (ssh_tunnel) stderr: debug1: Remote protocol version 2.0, remote software version OpenSSH_9.6p1 Ubuntu-3ubuntu13.12
2025-07-23 10:51:54.556 [info] (ssh_tunnel) stderr: debug1: compat_banner: match: OpenSSH_9.6p1 Ubuntu-3ubuntu13.12 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 34.51.198.219:22 as ‘daninvestor’
2025-07-23 10:51:54.558 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen C:\Users\\320\224\320\260\320\275\321\217/.ssh/known_hosts2: No such file or directory
2025-07-23 10:51:54.558 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen PROGRAMDATA\ssh/ssh_known_hosts: No such file or directory
2025-07-23 10:51:54.558 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen PROGRAMDATA\ssh/ssh_known_hosts2: No such file or directory
2025-07-23 10:51:54.559 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_KEXINIT sent
2025-07-23 10:51:54.573 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_KEXINIT received
2025-07-23 10:51:54.574 [info] (ssh_tunnel) stderr: debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
2025-07-23 10:51:54.574 [info] (ssh_tunnel) stderr: debug1: kex: server->client cipher: chacha20-poly1305@openssh. com MAC: compression: none
2025-07-23 10:51:54.574 [info] (ssh_tunnel) stderr: debug1: kex: client->server cipher: chacha20-poly1305@openssh. com MAC: compression: none
2025-07-23 10:51:54.575 [info] (ssh_tunnel) stderr: debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
2025-07-23 10:51:54.593 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_KEX_ECDH_REPLY received
2025-07-23 10:51:54.593 [info] (ssh_tunnel) stderr: debug1: Server host key: ssh-ed25519 SHA256:HEvmI3GhGZwq9clCqbT0nQF0mEni8vrPX6MlKuVlPXs
2025-07-23 10:51:54.594 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen C:\Users\\320\224\320\260\320\275\321\217/.ssh/known_hosts2: No such file or directory
2025-07-23 10:51:54.594 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen PROGRAMDATA\ssh/ssh_known_hosts: No such file or directory
2025-07-23 10:51:54.595 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen PROGRAMDATA\ssh/ssh_known_hosts2: No such file or directory
2025-07-23 10:51:54.595 [info] (ssh_tunnel) stderr: debug1: Host ‘34.51.198.219’ is known and matches the ED25519 host key.
2025-07-23 10:51:54.595 [info] (ssh_tunnel) stderr: debug1: Found key in C:\Users\\320\224\320\260\320\275\321\217/.ssh/known_hosts:19
2025-07-23 10:51:54.597 [info] (ssh_tunnel) stderr: debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
2025-07-23 10:51:54.597 [info] (ssh_tunnel) stderr: debug1: rekey out after 134217728 blocks
2025-07-23 10:51:54.597 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_NEWKEYS sent
2025-07-23 10:51:54.598 [info] (ssh_tunnel) stderr: debug1: expecting SSH2_MSG_NEWKEYS
2025-07-23 10:51:54.598 [info] (ssh_tunnel) stderr: debug1: ssh_packet_read_poll2: resetting read seqnr 3
2025-07-23 10:51:54.598 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_NEWKEYS received
2025-07-23 10:51:54.598 [info] (ssh_tunnel) stderr: debug1: rekey in after 134217728 blocks
2025-07-23 10:51:54.598 [info] (ssh_tunnel) stderr: debug1: get_agent_identities: ssh_get_authentication_socket: No such file or directory
2025-07-23 10:51:54.598 [info] (ssh_tunnel) stderr: debug1: Will attempt key: C:\Users\\320\224\320\260\320\275\321\217/.ssh/key_private explicit
2025-07-23 10:51:54.598 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_EXT_INFO received
2025-07-23 10:51:54.598 [info] (ssh_tunnel) stderr: debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh. com,sk-ecdsa-sha2-nistp256@openssh. com,rsa-sha2-512,rsa-sha2-256>
2025-07-23 10:51:54.598 [info] (ssh_tunnel) stderr: debug1: kex_ext_info_check_ver: [email protected]=<0>
2025-07-23 10:51:54.598 [info] (ssh_tunnel) stderr: debug1: kex_ext_info_check_ver: [email protected]=<0>
2025-07-23 10:51:54.666 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_SERVICE_ACCEPT received
2025-07-23 10:51:54.681 [info] (ssh_tunnel) stderr: debug1: Authentications that can continue: publickey
2025-07-23 10:51:54.681 [info] (ssh_tunnel) stderr: debug1: Next authentication method: publickey
2025-07-23 10:51:54.681 [info] (ssh_tunnel) stderr: debug1: Trying private key: C:\Users\\320\224\320\260\320\275\321\217/.ssh/key_private
2025-07-23 10:51:54.682 [info] (ssh_tunnel) stderr: debug1: read_passphrase: requested to askpass
2025-07-23 10:51:54.682 [info] (ssh_tunnel) stderr: CreateProcessW failed error:2
2025-07-23 10:51:54.682 [info] (ssh_tunnel) stderr: ssh_askpass: posix_spawnp: No such file or directory
2025-07-23 10:51:54.683 [info] (ssh_tunnel) stderr: debug1: No more authentication methods to try.
2025-07-23 10:51:54.683 [info] (ssh_tunnel) stderr: daninvestor@ 34.51.198.219: Permission denied (publickey).
2025-07-23 10:51:54.684 [info] (ssh_tunnel) stderr: ����⪠ ����� � ���������騩 �����.
2025-07-23 10:51:54.686 [info] (ssh_tunnel): exit: code=255 signal=null
2025-07-23 10:51:54.687 [error] Error installing server: Failed to install the Cursor Server. Please check the logs for more details.
2025-07-23 10:51:54.687 [info] Deleting local script C:\Users\C182~1\AppData\Local\Temp\cursor_remote_install_95160.sh
2025-07-23 10:51:54.688 [error] Error resolving SSH authority Failed to install the Cursor Server. Please check the logs for more details.
2025-07-23 11:04:03.156 [info] Resolving ssh remote authority ‘34.51.198.219’ (Unparsed ‘ssh-remote+7b22686f73744e616d65223a2233342e35312e3139382e323139227d’) (attempt #1)
2025-07-23 11:04:03.156 [info] SSH askpass server listening on port 60793
2025-07-23 11:04:03.156 [info] Using configured platform linux for remote host 34.51.198.219
2025-07-23 11:04:03.157 [info] Using askpass script: c:\Users\Даня.cursor\extensions\anysphere.remote-ssh-1.0.23\dist\scripts\launchSSHAskpass.bat with javascript file c:\Users\Даня.cursor\extensions\anysphere.remote-ssh-1.0.23\dist\scripts\sshAskClient.js. Askpass handle: 60793
2025-07-23 11:04:03.170 [info] Launching SSH server via shell with command: type “C:\Users\C182~1\AppData\Local\Temp\cursor_remote_install_76445.sh” | ssh -v -T -D 60794 34.51.198.219 bash --login -c bash
2025-07-23 11:04:03.170 [info] Started installation script. Waiting for it to finish…
2025-07-23 11:04:03.170 [info] Waiting for server to install via process(26916)…
2025-07-23 11:04:03.205 [info] (ssh_tunnel) stderr: OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
2025-07-23 11:04:03.206 [info] (ssh_tunnel) stderr: debug1: Reading configuration data C:\Users\\320\224\320\260\320\275\321\217/.ssh/config
2025-07-23 11:04:03.206 [info] (ssh_tunnel) stderr: debug1: C:\Users\\320\224\320\260\320\275\321\217/.ssh/config line 1: Applying options for 34.51.198.219
2025-07-23 11:04:03.209 [info] (ssh_tunnel) stderr: debug1: Connecting to 34.51.198.219 [34.51.198.219] port 22.
2025-07-23 11:04:03.225 [info] (ssh_tunnel) stderr: debug1: Connection established.
2025-07-23 11:04:03.226 [info] (ssh_tunnel) stderr: debug1: identity file C:\Users\\320\224\320\260\320\275\321\217/.ssh/key_private type -1
2025-07-23 11:04:03.226 [info] (ssh_tunnel) stderr: debug1: identity file C:\Users\\320\224\320\260\320\275\321\217/.ssh/key_private-cert type -1
2025-07-23 11:04:03.226 [info] (ssh_tunnel) stderr: debug1: Local version string SSH-2.0-OpenSSH_for_Windows_9.5
2025-07-23 11:04:03.246 [info] (ssh_tunnel) stderr: debug1: Remote protocol version 2.0, remote software version OpenSSH_9.6p1 Ubuntu-3ubuntu13.12
2025-07-23 11:04:03.247 [info] (ssh_tunnel) stderr: debug1: compat_banner: match: OpenSSH_9.6p1 Ubuntu-3ubuntu13.12 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 34.51.198.219:22 as ‘daninvestor’
2025-07-23 11:04:03.249 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen C:\Users\\320\224\320\260\320\275\321\217/.ssh/known_hosts2: No such file or directory
2025-07-23 11:04:03.249 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen PROGRAMDATA\ssh/ssh_known_hosts: No such file or directory
2025-07-23 11:04:03.249 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen PROGRAMDATA\ssh/ssh_known_hosts2: No such file or directory
2025-07-23 11:04:03.249 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_KEXINIT sent
2025-07-23 11:04:03.265 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_KEXINIT received
2025-07-23 11:04:03.265 [info] (ssh_tunnel) stderr: debug1: kex: algorithm: curve25519-sha256
2025-07-23 11:04:03.265 [info] (ssh_tunnel) stderr: debug1: kex: host key algorithm: ssh-ed25519
2025-07-23 11:04:03.265 [info] (ssh_tunnel) stderr: debug1: kex: server->client cipher: chacha20-poly1305@openssh. com MAC: compression: none
2025-07-23 11:04:03.266 [info] (ssh_tunnel) stderr: debug1: kex: client->server cipher: chacha20-poly1305@openssh. com MAC: compression: none
2025-07-23 11:04:03.267 [info] (ssh_tunnel) stderr: debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
2025-07-23 11:04:03.324 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_KEX_ECDH_REPLY received
2025-07-23 11:04:03.324 [info] (ssh_tunnel) stderr: debug1: Server host key: ssh-ed25519 SHA256:HEvmI3GhGZwq9clCqbT0nQF0mEni8vrPX6MlKuVlPXs
2025-07-23 11:04:03.325 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen C:\Users\\320\224\320\260\320\275\321\217/.ssh/known_hosts2: No such file or directory
2025-07-23 11:04:03.326 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen PROGRAMDATA\ssh/ssh_known_hosts: No such file or directory
2025-07-23 11:04:03.326 [info] (ssh_tunnel) stderr: debug1: load_hostkeys: fopen PROGRAMDATA\ssh/ssh_known_hosts2: No such file or directory
2025-07-23 11:04:03.326 [info] (ssh_tunnel) stderr: debug1: Host ‘34.51.198.219’ is known and matches the ED25519 host key.
2025-07-23 11:04:03.326 [info] (ssh_tunnel) stderr: debug1: Found key in C:\Users\\320\224\320\260\320\275\321\217/.ssh/known_hosts:19
2025-07-23 11:04:03.328 [info] (ssh_tunnel) stderr: debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
2025-07-23 11:04:03.329 [info] (ssh_tunnel) stderr: debug1: rekey out after 134217728 blocks
2025-07-23 11:04:03.329 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_NEWKEYS sent
2025-07-23 11:04:03.329 [info] (ssh_tunnel) stderr: debug1: expecting SSH2_MSG_NEWKEYS
2025-07-23 11:04:03.329 [info] (ssh_tunnel) stderr: debug1: ssh_packet_read_poll2: resetting read seqnr 3
2025-07-23 11:04:03.329 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_NEWKEYS received
2025-07-23 11:04:03.329 [info] (ssh_tunnel) stderr: debug1: rekey in after 134217728 blocks
2025-07-23 11:04:03.329 [info] (ssh_tunnel) stderr: debug1: get_agent_identities: ssh_get_authentication_socket: No such file or directory
2025-07-23 11:04:03.329 [info] (ssh_tunnel) stderr: debug1: Will attempt key: C:\Users\\320\224\320\260\320\275\321\217/.ssh/key_private explicit
2025-07-23 11:04:03.330 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_EXT_INFO received
2025-07-23 11:04:03.330 [info] (ssh_tunnel) stderr: debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh. com,sk-ecdsa-sha2-nistp256@openssh. com,rsa-sha2-512,rsa-sha2-256>
2025-07-23 11:04:03.330 [info] (ssh_tunnel) stderr: debug1: kex_ext_info_check_ver: [email protected]=<0>
2025-07-23 11:04:03.330 [info] (ssh_tunnel) stderr: debug1: kex_ext_info_check_ver: [email protected]=<0>
2025-07-23 11:04:03.401 [info] (ssh_tunnel) stderr: debug1: SSH2_MSG_SERVICE_ACCEPT received
2025-07-23 11:04:03.416 [info] (ssh_tunnel) stderr: debug1: Authentications that can continue: publickey
2025-07-23 11:04:03.417 [info] (ssh_tunnel) stderr: debug1: Next authentication method: publickey
debug1: Trying private key: C:\Users\\320\224\320\260\320\275\321\217/.ssh/key_private
2025-07-23 11:04:03.417 [info] (ssh_tunnel) stderr: debug1: read_passphrase: requested to askpass
2025-07-23 11:04:03.418 [info] (ssh_tunnel) stderr: CreateProcessW failed error:2
2025-07-23 11:04:03.418 [info] (ssh_tunnel) stderr: ssh_askpass: posix_spawnp: No such file or directory
2025-07-23 11:04:03.418 [info] (ssh_tunnel) stderr: debug1: No more authentication methods to try.
2025-07-23 11:04:03.418 [info] (ssh_tunnel) stderr: daninvestor@ 34.51.198.219: Permission denied (publickey).
2025-07-23 11:04:03.419 [info] (ssh_tunnel) stderr: ����⪠ ����� � ���������騩 �����.
2025-07-23 11:04:03.422 [info] (ssh_tunnel): exit: code=255 signal=null
2025-07-23 11:04:03.423 [error] Error installing server: Failed to install the Cursor Server. Please check the logs for more details.
2025-07-23 11:04:03.423 [info] Deleting local script C:\Users\C182~1\AppData\Local\Temp\cursor_remote_install_76445.sh
2025-07-23 11:04:03.423 [error] Error resolving SSH authority Failed to install the Cursor Server. Please check the logs for more details.
Does this stop you from using Cursor
Yes - Cursor is unusable
