Live data from Hacker News

Mosh: the mobile shell

mosh.mit.edu

21–30 of 153 posts

Re: Mosh: the mobile shell

#21
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 emulation and while the extra latency might not be a killer the terminal emulation can be as it is opaque to some features.

Re: Mosh: the mobile shell

#22

I've had great success with using JuiceSSH[0] for mosh on Android. Great for those times something important comes up and I'm away from my desk. Trying to connect without mosh on mobile networks is pretty terrible. [0] https://juicessh.com/

key based, or saved credentials, and tmux on the host.

Re: Mosh: the mobile shell

#23
Termux[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 continues running. Perfect. Same for e-mail using mutt, notes that are backed up on the server automatically using vim, etc etc. Really nice workflow.

Give me a handheld device with ssh/mosh support and I'm happy. :)

[0] https://termux.com https://play.google.com/store/apps/details?id=com.termux

Re: Mosh: the mobile shell

#25
post #16
post #15

Still no proper IPv6 support. I use v6 almost exclusively to get to all my servers.

Curious on what advantages you see vs. using IPv6 Edit: IPv4

I'll chime in and say: Support for IPv6. It's ... self evident? I think we've reached a point that it's okay to call out a network client that doesn't support it.

Re: Mosh: the mobile shell

#26
post #21

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?

Re: Mosh: the mobile shell

#28

I use mosh daily and love it. It's great for moving around the office and maintaining a connection - no accidental hups, no real need to use screen or nohup. My one beef with it is that it effectively defeats my terminal emulator's scroll bar. Need to scroll back the output? Nope. You have to use less or more profusely.

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

#29

Termux[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…

Have you tried JuiceSSH by any chance?

Curious how the two compare.

Re: Mosh: the mobile shell

#30
post #15

Still no proper IPv6 support. I use v6 almost exclusively to get to all my servers.

> I use v6 almost exclusively to get to all my servers.

I'm curious. Does any of your servers have only IPv6 address? That is, no IPv4-connectivity.

Post reply on HN