Posted elsewhere but will copy here. Been doing this for a while. - - - get tailscale (free) and join on both devices install tmux get an ios/android terminal (echo / termius) enable "remote login" if on mac (disable on public wifi) mosh/ssh into computer now you can do tmux then claude / codex / w/e on either device and reconnect freely via tmux ls and tmux attach -t - - - You can name tmux and resume by name via tm…
Do you have an alias or something so that every time you open CC, tmux is running? How do you deal with multiple concurrent sessions of CC with this setup? How important is mosh? I wasn't able to get it set up the last time I tried... ran into a bunch of issues.
Depends- how good is your signal? Mosh has a great property that it buffers everything locally so there's no lag even if your connection sucks.
On ssh, every keystroke is a roundtrip