• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Mosh on Ubuntu 17.04

{{postValue.id}}

To install Mosh on Ubuntu 17.04

Mosh (mobile shell) is an open-source SSH alternative which provides both stability and reliability, in wireless network connections. Via its re-establish connection feature, the remote connection gets automatically restored after the internet connection gets interrupted. Also, it provides intelligent local echo and line editing of user keystrokes. It is really so simple to install Mosh on Ubuntu 17.04, and this article covers the ground on the same process.

 

Install Mosh

In order to install Mosh, it is very essential to add the necessary repository in your machine, so make sure you run the following command which adds them in your system.

root@linuxhelp11:~# add-apt-repository ppa:keithw/mosh
 Mosh is a remote terminal application that supports intermittent connectivity, allows roaming, and provides speculative local echo and line editing of user keystrokes.
 More info: https://launchpad.net/~keithw/+archive/ubuntu/mosh
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox ' /tmp/tmpk3bk72_h/pubring.gpg'  created
gpg: /tmp/tmpk3bk72_h/trustdb.gpg: trustdb created
gpg: key 3EB9326A7BF6DFCD: public key " Launchpad PPA for Keith Winstein"  imported
gpg: Total number processed: 1
gpg:               imported: 1
OK

 

 

Once the repository is added, you shall update it by making use of the following command.

root@linuxhelp11:~#  apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu zesty InRelease          
Get:2 http://ppa.launchpad.net/keithw/mosh/ubuntu zesty InRelease [5.4 kB]
Hit:3 http://ppa.launchpad.net/ubuntuhandbook1/claws-mail/ubuntu zesty InRelease
Get:4 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB]    
Get:5 http://ppa.launchpad.net/keithw/mosh/ubuntu zesty/main i386 Packages [604 B]
Get:6 http://us.archive.ubuntu.com/ubuntu zesty-updates InRelease [89.2 kB]
Get:7 http://ppa.launchpad.net/keithw/mosh/ubuntu zesty/main amd64 Packages [608 B]
Get:8 http://ppa.launchpad.net/keithw/mosh/ubuntu zesty/main Translation-en [348 B]
Get:9 http://us.archive.ubuntu.com/ubuntu zesty-backports InRelease [89.2 kB]
Fetched 284 kB in 2s (107 kB/s)    
Reading package lists... Done

 

And then you can proceed with the installation of  Mosh by making use of the following command.

root@linuxhelp11:~#  apt-get install mosh -y
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  mosh
0 upgraded, 1 newly installed, 0 to remove and 130 not upgraded.
Need to get 0 B/205 kB of archives.
After this operation, 843 kB of additional disk space will be used.
Selecting previously unselected package mosh.
(Reading database ... 205290 files and directories currently installed.)
Preparing to unpack .../mosh_1.3.2+1279-0ppa~ubuntu17.04.1_amd64.deb ...
Unpacking mosh (1.3.2+1279-0ppa~ubuntu17.04.1) ...
Processing triggers for ufw (0.35-4) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up mosh (1.3.2+1279-0ppa~ubuntu17.04.1) ...

 

 

You can check for Mosh’ s version, and if you get a proper output, it means that you have installed Mosh in your system without any glitches.

root@linuxhelp11:~# mosh -version
mosh 1.3.2 [build mosh 1.3.2]
Copyright 2012 Keith Winstein < mosh-devel@mit.edu> 
License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html> .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

With this, the method to install Mosh on Ubuntu 17.04 comes to an end.

Tags:
liam
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is mosh and what for it is used?

A

Mosh (mobile shell) is an open-source SSH alternative which provides both stability and reliability, in wireless network connections. Via its re-establish connection feature, the remote con

Q

What is the version involved in this? And how it can be checked?

A

command used for checking its version is "mosh -version"

Q

How do I use an SSH agent so I don't have to type in my encrypted private key's password every time?

A

Unfortunately, Mosh for Chrome does not currently support this. Please see Issue #78 for a discussion on this topic. As a workaround, you can use an unencrypted private key, but this obviously has security drawbacks.

Q

How to Disable instant echo in mosh?

A

Run the following command,
$ mosh --predict=never niennunb

Q

how to Server binary outside path?

A

The user can specify an alternate path for the mosh-server on the remote host.
$ mosh --server=/tmp/mosh-server r2d2

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaac ?
How to run windows application in linux

I need to run the windows application in my Linux machine, instead of installing from yum repo or any other repos. How to do that..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.