Hacker News new | ask | show | jobs
by nasretdinov 756 days ago
Blink is also a mosh client, so IMO the combo makes it the best iOS app for a dev/ops :)
1 comments

Mosh is an essential requirement for any kind of mobile work over ssh, combine it with tmux and iTerm2 tmux integration and you can work on a remote server without even knowing it :D
Another alternative is running ssh over Wireguard. It gives you some of the same benefits, like roaming between different internet connections while transparently maintaining connections that are going through the Wireguard VPN connection.

https://www.wireguard.com/

I used to use mosh, but the lack of support for scrollback in mosh eventually made me give up on it.

https://github.com/mobile-shell/mosh/issues/122

I’ve been happy running ssh over Wireguard instead. Not just as a replacement for mosh but also because I wanted my own VPN in the first place. I use the VPN for connections between my own computers. I don’t bother routing traffic for the wider internet through my VPN although Wireguard can do that too if you want.

Doesn't that ruin standby battery life and/or fail when traveling between Wi-Fi networks due to TCP or SSH timeouts?
I haven’t seen that. My session persists with Tailscale when I’m roaming on my iPhone hotspot to the next day when I am on home WiFi. Only lost a few % overnight on my M1.
If you’re using tmux, mosh doesn’t bring much to the table compared to plain SSH. Tmux will keep everything running and you can easily reattach to that session after a reconnect.

Apps like ShellFish even do this completely transparently so you don’t even notice you got disconnected for a second. No need for mosh there.