Hacker News new | ask | show | jobs
by codetrotter 756 days ago
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.

1 comments

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.