Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Everything works out of the box with VS Code. I connect via SSH to my Windows machine from my Mac mini, open the folder, the paths are Windows-style, and Git works normally.
In Cursor, I connect via SSH but it seems to use Linux-style paths. The repository does not load, there is no Git output, and Git commands do not work inside the IDE.
If I open the terminal in Cursor and manually run an ssh command to connect, then Git commands work fine in the terminal. However, the Cursor IDE itself still fails to recognize or operate on the repository.
Steps to Reproduce
Steps to Reproduce
-
Use a Mac mini (macOS) as the client machine.
-
Have a Windows machine with:
- OpenSSH server enabled
- A Git repository available on disk
-
From the Mac mini, open VS Code.
-
Connect to the Windows machine using Remote SSH.
-
Open the project folder on the Windows machine.
-
Verify that:
- The folder uses Windows-style paths
- The Git repository loads correctly
- Git commands work inside the VS Code UI
-
Close VS Code.
-
Open Cursor on the Mac mini.
-
Connect to the same Windows machine via SSH.
-
Open the same project folder.
-
Observe that:
- Linux-style paths are used instead of Windows-style paths
- The repository does not load
- No Git output is shown
- Git commands do not work inside the Cursor IDE
-
Open the integrated terminal in Cursor.
-
Manually run
sshto connect to the Windows machine. -
Run Git commands in the terminal and observe that they work correctly.
-
Return to the Cursor IDE UI and observe that Git integration still does not function.
Expected Behavior
Cursor should behave the same as VS Code when connecting via SSH from a Mac mini to a Windows machine.
The remote file system should be detected correctly as Windows, using Windows-style paths.
The Git repository should load automatically after opening the project folder.
Git status, changes, and history should be visible in the Cursor UI.
Git commands should work normally inside the Cursor IDE without requiring a manual SSH session in the terminal.
The IDE Git integration should function independently of running ssh commands manually in the terminal.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.2.43
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: Darwin arm64 25.2.0
Additional Environment Details
-
SSH connection is established using Anysphere Remote SSH.
-
Client machine is a Mac mini (macOS).
-
Remote machine is Windows hosting the Git repository.
Additional Observations
-
When running the command “Git: Show Git Output” inside Cursor, a dialog appears with the following error:
Command ‘Git: Show Git Output’ resulted in an error
commandgit.showOutputnot found -
This error occurs only in Cursor.
-
The same repository and SSH setup works correctly in VS Code.
-
Git commands continue to work when executed manually inside Cursor’s terminal after running
ssh, but the IDE Git integration remains broken.Does this stop you from using Cursor
No - Cursor works, but with this issue