Remote SSH stopped editing files

Thanks for reporting a bug you have found in Cursor!
Please add the following info to help us diagnose your issue:

:white_check_mark: Check the forum to ensure the issue hasn’t been reported already
:lady_beetle: Provide a clear description of the bug
:counterclockwise_arrows_button: Explain how to reproduce the bug (if known)
: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).
:prohibited: Tell us if the issue stops you from using Cursor.

After working well for a while, a few days ago it stops editing files remotely complaining permission issue. I asked Cursor to report issues below:

I’ve successfully reproduced the error. Here’s what I’m observing:

  • We can successfully list directory contents using list_dir*
  • We were able to edit the .cursorignore file - this seems to be an exception*
  • We can create files using the terminal commands (echo redirection)*
  • We cannot:*
  • Create new files using edit_f . ile (error: “Editing this file is blocked by vscode-remote…”)*
  • Modify existing files using edit_file*
  • Use search_replace on existing files*
  • Read files that we created via terminal using read_file*
  • This suggests there’s a permission issue or access control problem with the VSCode remote SSH connection. The error message indicates that the remote SSH connection is blocking file editing operations*

Since then I tried the Remote SSH from Microsoft and Cursor.com but not helping. I wonder if anyone is having the same experience and can shad some lights.

My local is a new Macbook air. The remote is Ubuntu 24. more info below:

Cursor version:
Version: 0.50.4

VSCode Version: 1.96.2

Commit: 8ea935e79a50a02da912a034bbeda84a6d3d3550

Date: 2025-05-14T16:09:16.982Z

Electron: 34.3.4

Chromium: 132.0.6834.210

Node.js: 20.18.3

V8: 13.2.152.41-electron.0

OS: Darwin arm64 24.4.0

Local OS – macos 15.4.1

Remote OS –

c0r139-50084@c0r139-50084:/etc$ cat os-release

PRETTY_NAME=“Ubuntu 24.04.2 LTS”

NAME=“Ubuntu”

VERSION_ID=“24.04”

VERSION=“24.04.2 LTS (Noble Numbat)”

VERSION_CODENAME=noble

ID=ubuntu

ID_LIKE=debian

HOME_URL=https://www.ubuntu.com/

SUPPORT_URL=https://help.ubuntu.com/

BUG_REPORT_URL=Bugs : Ubuntu

PRIVACY_POLICY_URL=Data privacy | Ubuntu and Canonical Legal | Ubuntu

UBUNTU_CODENAME=noble

LOGO=ubuntu-logo

SSH extension is 0.113.1

Cursor was restarted many times. Also killed remote ssh too

This issue happens in office as well as via VPN.

I can edit files with Remote extension in same remote VM with vscode. Let me know how otherwise to test it.

here is additional information from Cursor AI when having issue. It seems the regular file accessing tool is not working. the Cursor can only use command OS commands like “ls” and “cat”…

" Okay, that’s much clearer! The file api/CMakeLists.txt does exist. The previous attempts with read_file might have failed due to subtle path issues or case sensitivity that ls -la handles more directly in the terminal.

Now that we’ve confirmed its existence, let’s read api/CMakeLists.txt to examine its include directories and linking for OATPP.

Could not find file api/CMakeLists.txt in the workspace.

This is persistent and very strange. The terminal ls command clearly shows api/CMakeLists.txt exists and has read permissions, yet the read_file tool consistently fails to find it. This might point to an issue with how the read_file tool resolves paths in this specific remote workspace setup, or perhaps a caching issue within the tool or its underlying file system access."

Another typical incidence:
" Let’s apply the primary changes to api/CMakeLists.txt first: removing OATPP_LOCAL_DIR and ensuring the find_package results are used.

Cannot edit files blocked by vscode-remote://ssh-remote%2Bc0r139-50084/home/c0r139-50084/iot-rolemgr-dbschema/ToBeMoved/IoT/additionalModules/simpleShift/

It appears I’m still blocked from directly editing api/CMakeLists.txt. This is unfortunate, as it’s a crucial step.

Since I can’t apply the change directly, I will provide you with the complete, modified content for api/CMakeLists.txt."