Codex SSH Executor

Open 💬 4 comments Opened Jan 26, 2026 by samodadela

What feature would you like to see?

Feature request:

  1. Start codex locally with codex --ssh user@example.com:/home/user/src
  2. Codex run locally but all tools calls are executed on the remote host

This can be used as a kind of sandbox (if the remote host is configured correctly). If codex sandbox is not possible on remote --dangerously-bypass-approvals-and-sandbox could be made required so the user knows codex is in YOLO mode on the ssh host.

Pros:

  • copying images in codex would finally work ;) (as you know pasting images won't work via ssh)
  • if the remote host is properly configured (no credentials, no egress) user can feel safer nothing bad can happen
  • other agents don't have this ;)

Additional information

_No response_

View original on GitHub ↗

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