How can I disable the VS Code Sandbox? Print

  • VSCode, Shared hosting, Vibecoding, SSH
  • 3

If, after configuring SSH access and attempting to run any actions on the server, the agent reports that the terminal is unavailable to it due to a likely missing bubblewrap, socat — follow these steps:

  1. Open the FilePreferencesSettings menu.
  2. In the settings search field, enter: @id:chat.agent.sandbox.enabled
  3. Find the option Chat › Agent › Sandbox: Enabled
    Controls whether agent mode uses sandboxing to restrict what tools can do. When enabled, tools like the terminal are run in a sandboxed environment to limit access to the system.
  4. Toggle the value from On to Off.

Chat › Agent › Sandbox: Enabled toggle in VS Code Settings

After that, you can try connecting again.


Was this answer helpful?

« Back