Show HN: My favorite local-feeling remotely accessible Claude Code setup
gist.github.comI run multiple Claude Code sessions on my Mac at home and control them from my iPhone or iPad while I’m out.
I like this because it gives me maximum power and flexibility (I can use any plugin or CLI as if I were sitting there locally).
The setup is cmux for the terminal multiplexer UI, tmux to keep sessions alive between connections, Tailscale for zero-config encrypted networking, and Echo app as the iOS SSH client. Optional Mosh for auto-reconnect when you switch networks.
The gist includes a ‘ccode’ alias shell function that handles session naming (so it doesn't conflict with claude if I ever need to use it), tmux lifecycle, continue/skip-permissions flags, and a pre-flight check so you don’t get a blank window when there’s nothing to continue. I built a thing to let me control Claude Code from my phone a couple of months back. What does this offer that the new CC integration with their mobile app doesn't? Yeah fair question - I mainly did this because I’d forget to run /rc to enable remote control and the globally enabled rc flag is buggy. The 3 main benefits for me are - full terminal access, not just CC. So I can start CC remotely, not just join - connection durability, CC sessions will die if network drops 10min+ - i enjoy cmux and wanted its workspace management integrated remotely as I’ve usually got 3-10 CC sessions active at any time