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!


13 comments:

John Lee 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

Sathya G 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

karthireva said...


This content creates a new hope and inspiration with in me. Thanks for sharing article like this. The way you have stated everything above is quite awesome. Keep blogging like this.


Dot Net Training Institute in Chennai

Aasha said...

This is a great post. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again.

Digital Marketing For Small Business in Chennai

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

Pricilla Prasanth 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

Shalini said...

Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us. expecting for your.
Digital Marketing Company in India

Abiya Carol said...

Great post! I am actually getting ready to across this information, It's very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.

Seo Training in Chennai

Akshaysri said...

Great post! I am actually getting ready to across this information, It's very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
Sat Coaching Chennai

Thamizharasi J said...

It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command .

Fresher Jobs in Mumbai
Fresher Jobs in Pune
Fresher Jobs in Noida
Fresher Jobs in Hyderabad

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

Alvinasarah said...

There are many interesting information included and i can easily understand all given information.I post something on my blog to post something, or wait to post something worth saying. Keep update more information....
Tax Accountant Melbourne
Investment Advisor Melbourne
Mortgage Broker
Mortgage Broker Melbourne

Lunameadow said...

This is extremely great information for these blog!! And Very good work. It is very interesting to learn from to easy understood. Thank you for giving information. Please let us know and more information get post to link.

Oracle Training in Chennai