Codex cannot access files in remote directory (connected use SSHFS) in VSCode

Resolved 💬 4 comments Opened Nov 25, 2025 by JcaiJcai Closed Mar 29, 2026

What version of the VS Code extension are you using?

1.106.2 (Universal)

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Darwin 21.6.0 arm64 arm

What issue are you seeing?

Hi team,

I encountered an issue where Codex in VSCode cannot access any files inside a folder that is mounted via SSHFS.

The issue seems specific to SSH FS.

  • VSCode 1.106.2 (Universal)
  • Codex extension (by OpenAI)
  • SSHFS extension (by Kelvin Schoofs)
  • Workspace opened from an SSHFS-connected remote directory
  • “Work locally / sandbox mode”
  • “Send to cloud” always disabled / greyed out

<img width="516" height="490" alt="Image" src="https://github.com/user-attachments/assets/bca031b8-059e-4b00-a9af-874058606009" />

What steps can reproduce the bug?

  • Connect a remote directory using SSHFS.
  • Open the remote directory using SSHFS as a VSCode workspace. (As shown in the picture.)

<img width="491" height="704" alt="Image" src="https://github.com/user-attachments/assets/0a9fd77f-9b78-4a53-b108-a616cbad2009" />

  • Open the Codex panel.

Try to: Access project files
Try to: Change "Work locally"

All of these fail.

What is the expected behavior?

  • Add the current workspace (SSHFS folder) to the context
  • Enable Codex to read and modify project files like a normal workspace

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗