Command-P file search doesn't work over SSH

When first opening a new SSH project and attempting to search, nothing appears. After opening some files, it seems those get indexed and are searchable, but the behavior is still weird. For example searching the name of the folder does not highlight anything, only the name of the exact file.

I submitted a bug report for this a few months ago right after the macOS SSH updates but it never got any response so I wanted to bring it up again. I love cursor but I have still been unable to use SSH mode which is a significant amount of my work.

Example of search for index returning only the open file even though there are 100+ index files

Version/OS Info:

Version: 0.42.5
VSCode Version: 1.93.1
Commit: 001668006cc714afd397f4ef0d52862f5a095530
Date: 2024-11-14T00:33:36.512Z (5 days ago)
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.2.0

Project text search in the sidebar also does not work

Just found a command line fix!! Been wishing I knew how to fix this for months, so this is awesome.

From this post: Cannot global search in SSH mode connecting to a Macbook - #3 by Antoine-Nayuru

" Navigate to the said folder, and you will find the rg executable. Just run"

cp ./rg ./rgArm
1 Like