Live data from Hacker News

Mosh: the mobile shell

mosh.mit.edu

131–140 of 153 posts

Re: Mosh: the mobile shell

#131

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.

Another commentor expressed it, but JuiceSSH is proprietary. In most cases open source is more of a preference for me than a necessity, but I may need to sudo or access root over SSH, and there's no way to review closed source code. JuiceSSH (IMHO) has too much control over my computer for me to use it based on the assumption that I fully can trust the developer.

Re: Mosh: the mobile shell

#132
I never realised people used mosh for persistence. I always use tmux (with my zshrc set up to automatically drop me into a default session) and use mosh so that I can write full commands while operating over a lossy connection. I would use mosh over Tor, but Tor doesn't route UDP. :(

Re: Mosh: the mobile shell

#133
post #64

Earlier quoted context omitted.

I think "Not wanting to use SSH agent forwarding" is the answer. I don't want every single machine I use to be able to authenticate as me to anyone else. If I actually want to be able to connect to a third machine, I'll have an SSH key on the second machine. For instance, my phone has an SSH key to SSH/mosh to my VPS, and my VPS has a different SSH key that can authenticate to GitHub. If I suspect my VPS got compromi…

> I don't want every single machine I use to be able to authenticate as me to anyone else. There is the `-c` option to `ssh-add` for that reason: -c Indicates that added identities should be subject to confirmation before being used for authentication. Confirmation is performed by ssh-askpass(1). Successful confirmation is signaled by a zero exit status from ssh-askpass(1), rather than text entered into the requester…

Security by policy is worse than security by design. Mosh doesn't have code that implements agent forwarding, so there's no bugs in the policy code I have to be worried about.

Re: Mosh: the mobile shell

#134

>SSH waits for the server's reply before showing you your own typing. That can make for a lousy user interface. Mosh is different: it gives an instant response to typing, deleting, and line editing. This seems asinine. If latency is an issue I want to know it, not be fooled into thinking my input is being interpreted correctly by 'predictions'. Does this mean when I hit 'jjjjjll' in vim, I'm going to see this underli…

I thought that too when I first heard of mosh. But mosh is actually clever about it and it doesn't try to guess what would happen in vim. It usually only does predictions for prompts. In addition, the predictions are very obviously predictions (they're underlined). It's a very useful feature if you're trying to modify a complicated pipeline over a lossy network.

Re: Mosh: the mobile shell

#135

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.

Juicessh has implemented mosh but stops just a bit too soon.

it would be great if they could support suspending a mosh connection so that you can have a resumable connection without having to have the radio on all the time.

Re: Mosh: the mobile shell

#136
Few HN posts propel me to even slightly alter my day to day workflow. Using Mosh instead of raw SSH is a huge win for me because much of my day is spent remoting into a server in Singapore from the US over Verizon 4G cellular data.

Re: Mosh: the mobile shell

#137
post #72
post #24

> Mosh (and its tolerance for high packet loss) helps Iain Learmonth escape from an elevator. Um, wow! https://mosh.mit.edu/elevator.txt

Hey, never, but never, go out of an elevator that isn't leveled in the floor. By the description, I understand that he jumped from the elevator. If the elevator started to move, he could have been cut in half. This happened other day in my city. If you are stuck in a elevator, wait for professional help to take you out.

> If you are stuck in a elevator, wait for professional help to take you out.

Sometimes that doesn't work.

https://www.washingtonpost.com/news/morning-mix/wp/2016/03/0...

Re: Mosh: the mobile shell

#139
post #39

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…

Know of anything similar which supports android gingerbread? I'm using JuiceSSH now but I would love something with package management features like this.

Why not root the phone and install something newer than gingerbread?
Post reply on HN