How to install mosh on CentOS

1 min read

Why Mosh over SSH? No lag, stay connected

Quick guide to install Mosh on CentOS:

  1. SSH to your VPS
  2. You need to install Epel Repo
    • Type:
  3. Install Mosh
    • Type:
  4. Set firewall rules to allow traffic
    • Write rules:
    • Save rules:
  5. (Optional) I am using Mac and everytime to connect I have this error “The locale requested by LC_CTYPE=UTF-8 isn’t available here … Did not find mosh server startup message. (Have you installed mosh on your server?)”
    If you have the same problem:

    • Edit your /.bashrc file using your favorite editor
    • add this 2 lines:
  6. That’s it.
Latest posts by David B (see all)