I have mostly gone back to plain ssh. mosh was fantastic for keeping a connection running across network changes and when accessing a plain command line it does feel a bit snappier on slow connections. But screen or tmux give me persistence and re-establishing an ssh connection isn't very time consuming. A terminal multiplexer has a lot of advantages that mosh does not provide. mosh adds another layer of terminal emu…
Why not just use mosh to establish & maintain the connection then then use tmux/screen to manage the terminal sessions?
Mosh: the mobile shell
31–40 of 153 posts
Re: Mosh: the mobile shell
#32Termux[0], the best Android terminal emulator (in my humble opinion), recently had mosh added to its' package repository. I currently use it and it's very nice. It makes me long for a better handheld though (my 4" Moto G screen is difficult to type on, even with Hacker's Keyboard). I can have tmux sessions running on servers with say, an irc client running, mosh in, chat away for a bit, turn it off, the irc client co…
It's also available from F-Droid, though i recently became aware, that somehow I only had the ARM version and not AArch64, so keep that in mind. And it also works flawlessly on N.
Re: Mosh: the mobile shell
#33"Why use this instead of GNU screen?" The low latency features really set this one apart. The smart local echo (it underlines unconfirmed predictions) make it much nicer to use over laggy mobile networks.
I would say they're mostly orthogonal. I use mosh and screen.
Re: Mosh: the mobile shell
#34Re: Mosh: the mobile shell
#35Earlier quoted context omitted.
My solution to that is to run mosh on top of screen. tmux would also work.
Is mosh on top of screen or is screen on top of mosh? Serious question, since I share parent's love of mosh and frustration with the lack of scrollback.
Re: Mosh: the mobile shell
#36TL;DR: Install on both client and server, for ssh with better usability over mobile networks (3G/4G or spotty WiFi).
Also, you don't need root privileges to install it on the server side. You can just install it into your home directory, and run the client with --server=/home/you/bin/mosh-server. (It uses SSH for connection setup, and then communicates over UDP on a high-numbered port, so it doesn't need any privileged code.)
Re: Mosh: the mobile shell
#37Earlier quoted context omitted.
Why not just use mosh to establish & maintain the connection then then use tmux/screen to manage the terminal sessions?
Also wondering this. Why not both?
Re: Mosh: the mobile shell
#38Re: Mosh: the mobile shell
#39Termux[0], the best Android terminal emulator (in my humble opinion), recently had mosh added to its' package repository. I currently use it and it's very nice. It makes me long for a better handheld though (my 4" Moto G screen is difficult to type on, even with Hacker's Keyboard). I can have tmux sessions running on servers with say, an irc client running, mosh in, chat away for a bit, turn it off, the irc client co…
Re: Mosh: the mobile shell
#40It's not that Mosh does anything wrong, but SSH has more features, and is supported by basically everything ever. Consequently, I stick with old-school SSH.