Skip to content

Instantly share code, notes, and snippets.

@shotgundebugging
Created February 26, 2026 13:29
Show Gist options
  • Select an option

  • Save shotgundebugging/5bf24268fe74ae3a68993d166d709f6e to your computer and use it in GitHub Desktop.

Select an option

Save shotgundebugging/5bf24268fe74ae3a68993d166d709f6e to your computer and use it in GitHub Desktop.
tmux new -A -s codex
codex
ttyd -p 7681 -i eth0 -R -O tmux attach-session -t codex -r
# -p 7681 sets the web port.
# -i eth0 binds ttyd to your LAN interface (use wlan0 if on Wi-Fi).
# -R / --readonly disables browser input (no typing/click-to-send-keys).
# -O blocks websocket connections from different origins.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment