Tuesday, April 10, 2012

Trying out Mosh

Found another tool from HN with over 700 upvotes. Why not give it a try?!?

Mosh is another terminal application which handles unstable internet connection. It also employs a local buffer so that you get instant response after each keystroke. The latter is what I have always wanted to see for a very long time. I have a VPS account with RackSpace, and with crappy internet connection here it took very long before each character appears on my screen after each keystroke, making it very hard to work with.

Notes for the problems I encountered while trying to install and use Mosh:
  • I have to install Mosh on both the server and the client. I installed Mosh on both my the OS X and my Ubuntu 64-bit server.
  • OS X's terminal is, by default, sending its LC_* environment variable when you SSH to another machine. LC_CTYPE is set to UTF-8 by default and it is fine under OS X Lion. But when this is send to my Ubuntu server, it caused a problem with setlocale call. Must comment out SendEnv line in /etc/ssh_config on my Mac. Thanks to tip from this page! - http://thegreyblog.blogspot.com/2012/02/fixing-mac-os-x-lions-ssh-utf-8-issues.html
With this, I can mosh to my Ubuntu server, the same way as I do with ssh:

$ mosh m3rlinez@gantserver.com

I got the response from each keystroke almost instantly as advertised, albeit there was usually an initial long lag before I could type smoothly. This was impressive as the response time was waaaay better than a normal ssh. Way to go Mosh!


7 comments:

Unknown said...

A great post for this specific topic.
The damage of information nearly always directs an individual to some a feeling of discouragement.
In order to solve this issue, the gurus have developed a lot of files restoration options.
Individual must be knowledgeable of the accessible information restoration methods so that the guy can deal the information failure situation in the best way.
repair corrupt pst file

Unknown said...


Thank you for taking the time to provide us this valuable information. we appreciate you for this valuable information.
Informatica Training in Chennai Thiruvanmiyur

sindhu said...

Great articles, first of all Thanks for writing such lovely Post! Earlier I thought that posts are the only most important thing on any blog. But here at Shoutmeloud I found how important other elements are for your blog.Keep update more posts..

App store optimization services

Unknown said...

I cant wait to check out some of these blogs! I’ve really wanted to start learning more about cars and auto repairs lately and I think this will help a lot. I think it can save my family some money if we knew how to do some repairs at home.! Thanks again for all the options.

car spa at doorstep in mumbai

Mahalyasree said...

I think it's awesome someone is finally taking notice of our vet's and doing something to help them. I hope all goes well with these articles. More new information i will get after refer that post.
Best Interior Designers in Chennai
Interior Designers in Chennai

Asharaf said...

This blog is having the good information. Got a creative work and this is very different one.We have to develop our creativity mind.This blog helps for this.Thank you for this blog.This is very interesting and useful.

Self Employment Tax
Tax Preparation Services
Tax Accountant
Tax Consultant
Tax Advisor
Online Tax services
Tax Professional

Blog27999 said...

Water Hack Burns 2lb of Fat OVERNIGHT

At least 160,000 men and women are trying a simple and SECRET "water hack" to burn 2lbs every night as they sleep.

It is simple and it works with anybody.

This is how you can do it yourself:

1) Get a clear glass and fill it with water half full

2) And now use this awesome hack

and you'll become 2lbs thinner when you wake up!