Remote-SSH getting wrong user name

:white_check_mark: Check the forum to ensure the issue hasn’t been reported already
=> No existing report found.

:lady_beetle: Provide a clear description of the bug
=> Remote-SSH is using an incorrect username.
It adds a prefix like 1004h (unsure of its origin).
This issue does not occur in VSCode.

:counterclockwise_arrows_button: Explain how to reproduce the bug (if known)

  1. Add an SSH host to the config file.
  2. Connect via Remote-SSH (using the command palette or left sidebar).

:camera: Attach screenshots or recordings (e.g., .jpg, .png, .mp4)
.

:laptop: Tell us your operating system and your Cursor version (e.g., Windows, 0.x.x).

Windows 11 24H2 (Build 26100.3476)
(Note: Likely unrelated to the OS, as this worked correctly in VSCode.)

:prohibited: Tell us if the issue stops you from using Cursor.
=> No.

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

We recently released a new Remote SSH extension that is bult and maintained by the Cursor team.

If you’re still hitting SSH issues, could you uninstall the existing Remote SSH extension, and install the anysphere.remote-ssh extension instead? This has resolved connection issues for others.

You can find it by searching for @id:anysphere.remote-ssh in the extension search box. Attaching a screenshot