MOSH host on OS X

There is a great tool called Mobile Shell (mosh) that makes your SSH fast as a light.

It works great on both NIX and OS X systems but there is one sad thing that it can’t run as host on OS X “from the box” when you installing it via homebrew.

themengzor@AZ-MacBook ~$ mosh OSXhost
bash: mosh-server: command not found
Connection to OSXhost closed.
/usr/local/bin/mosh: Did not find mosh server startup message.

Everything because of $PATH variable. To fix that you must put /usr/local/bin in your $PATH variable in ~/.bashrc file: