Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

They’ve addressed that. Codex in the ChatGPT app on iOS is way better than Claude Code now.

You sign in the Codex app on your Mac same on iOS and are able to completely control your sessions - fork, side chats, plugins - everything.

It’s really great i often work through it. And you can connect any number of Codex instances on any number of macs and then manage them all through the iOS app.



maybe I'm misunderstanding but I don't want to sign into the app on a mac - I want to run the CLI on a headless linux server and control the sessions from my iPhone. Does Codex allow that now?


You can do it too. There are two ways:

1. Run `codex remote-control --help` directly on your Linux server. 2. From the desktop app, connect to your Linux box, start Codex there, and make it remotely controllable.

Either approach will get you set up.


Ha, finally found time to get it working. Yeah it's more hassle than Claude Code since this needs a separate daemon server, but not very bad.

1. Install another copy of codex in a special dir on the Linux machine:

  $ curl -fsSL https://chatgpt.com/codex/install.sh | sh
2. Run codex remote-control from that special dir to start and pair the daemon:

  $ ~/.codex/packages/standalone/current/codex remote-control start

  $ ~/.codex/packages/standalone/current/codex remote-control pair
3. On the phone, open ChatGPT app, Choose Remote, then pair it with the code printed above.

4. Voila! The codex sessions running on the Linux machine now show up on the phone!


I do that with Termux on my Android phone. I set up dynamic DNS and wireguard on my router so I can reach my LAN from anywhere. I just enable wireguard and ssh in.

Not sure if there's a Termux equivalent for iPhone.


iSH for iPhone: https://ish.app

Free, OSS, pretty great for ssh via VPN => tmux a => codex/claude

I set up Codex to send a notification when done over Pushover (https://pushover.net). With this setup, you can just ssh into a Mac or Linux box either way.


This is awesome! Thank you.


Codex isn't in charge of that.

Just use termux on your phone and connect to a tmux session on your server.

Codex won't know the difference.


Hmm, I don't have a desktop computer. I prefer my laptop be used for other purposes, and can sleep when not in use, instead of running a coding agent 24x7. That's why I prefer running coding agents in the cloud.


You can do that too. Start working locally, then just do /handoff to transfer your session to the cloud and then work through the Codex app on your phone.


I guess this is a command in the GUI app? I still don't see it in the latest official codex CLI app (0.144 I think)




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: