4

How can I use mosh via iClouds Back to my Mac, like I can do it with ssh?

  • Do you mean this way? I have never used it but it seems this can just be done the same way with mosh. – Rnhmjoj Sep 27 '14 at 11:04
  • That didn't work. Mosh has recently added some ipv6 support, but I wasn't able to get it to work with BTMM. github.com/keithw/mosh/issues/81 – brendanjerwin Sep 27 '14 at 12:38
  • You can install the version of mosh with ipv6 support with brew install --HEAD mosh – brendanjerwin Sep 27 '14 at 12:38
1

I got it working.

It requires a bit of messing with mosh, so try it first with the current version before hacking with your installation of mosh. Leave a new answer or a comment if this starts working with the latest versions of mosh please.

First, on both the client and the server, install the latest version of mosh: brew install --HEAD mosh.

Then edit the mosh file ($EDITOR 'which mosh' (use backticks instead of single ticks)) as specified here: https://github.com/keithw/mosh/issues/81#issuecomment-57074800 I made the change on both the client and the server.

Then execute mosh -6 your_server if you followed Rnhmjoj's suggestion, or mosh -6 your_server.you_magic_number.members.btmm.icloud.com

  • So cool! I just switched to my cell phone tethered internet and it all just reattached and kept working. Mosh FTW! (And of course my ssh session that I also had running said Write failed: Broken pipe) – brendanjerwin Sep 28 '14 at 13:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .