Earlier quoted context omitted.
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.)
Anyone know if the UDP packets are encrypted?
Mosh: the mobile shell
41–50 of 153 posts
Re: Mosh: the mobile shell
#42Mosh is great, but I kind of stopped using it once I discovered Tmux so I could resume a session if the connection dropped. It'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.
>lost sessions cannot always be resumed, not even root can force that. >you can't scroll the terminal unless you use screen inside mosh >can't use mosh from the university network because UDP ports are filtered >can't autocomplete hosts in the config (ssh can do that)
but i still use it and would miss it very much, the whole experience is much smoother using mosh and bad connections are more bearable with it
Re: Mosh: the mobile shell
#43Termux[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
#44Still 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.
Several friends of mine are in a similar situation, so at least in my bubble, getting easy access to computers running at home is a major use-case for IPv6 :).
Re: Mosh: the mobile shell
#45Still no proper IPv6 support. I use v6 almost exclusively to get to all my servers.
Re: Mosh: the mobile shell
#46"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.
Mosh from a laptop is a no-go for me because there's no Windows-based, full-featured terminal emulator (saved sessions, auth agents, etc) that supports mosh.
Re: Mosh: the mobile shell
#47Termux[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…
Know of anything similar which supports android gingerbread? I'm using JuiceSSH now but I would love something with package management features like this.
Re: Mosh: the mobile shell
#48Re: Mosh: the mobile shell
#49I'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/
Re: Mosh: the mobile shell
#50I'm not a security researcher, but somehow I suspect the "maintaining connection while switching networks" holds potential for a flaw.
I've tried to reattach sessions to no avail, mosh was designed this way. I have to just kill the sessions.
Looks like I'm not alone in this either: https://github.com/mobile-shell/mosh/issues/394