Mosh – An Alternative To SSH
Mosh, Mobile Shell, is a free Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes.
Mosh is a better replacement for SSH. It’s more robust and responsive, especially over Wi-Fi, cellular, and long-distance links. It is available almost for all GNU/Linux, FreeBSD, Solaris, Mac OS X and Android.
Why Mosh instead of SSH?
1. It always stays connected even your ip is changed.
2. Suppose if you lose internet connection or put your system in sleep mode and wake it up later, Mosh resumes the connection with your network machine when your network comes back.
3. You don’t need to be a superuser to install or run Mosh.
4. Mosh doesn’t listen on network ports or authenticate users. The mosh client logs in to the server via SSH, and users present the same credentials (e.g., password, public key) as before.
5. It runs inside your Terminal such as xterm, gnome-terminal, urxvt, Terminal.app, iTerm, emacs, screen, or tmux.
6. Unlike SSH Mosh doesn’t fill up network buffers, so Control-C always works to halt a runaway process. Suppose if you requested a 200MB file instead of 100MB, you can stop it immediately by pressing CTRL+C.
7. Mosh get rid of all network lag. If your remote connection is slow, it gives an instant response to typing, deleting, and line editing.
$ sudo apt-get install python-software-properties $ sudo add-apt-repository ppa:keithw/mosh $ sudo apt-get update $ sudo apt-get install mosh
On Debian 6 or later:
$ sudo apt-get install mosh
You need to enable EPEL or RepoForge repository in order to install Mosh.
# yum install mosh
On Fedora 15 or later:
$ sudo yum install mosh
On OpenSUSE 12.3 or later:
$ sudo zypper in mosh
# pacman -S mosh
# portmaster net/mosh
Just like SSH, you can connect to your remote system with command:
$ mosh firstname.lastname@example.org
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@server:~#
Here 192.168.1.200 is my debian 7 wheezy server ip address.
Now you will able to connect to your remote system.
Like us on Facebook
We need your assistance to stay live
This week Top Posts
- Top Things To Do After Installing Ubuntu 13.10 'Saucy Salamander' : Ubuntu 13.10 Saucy Salamander will be released on coming October 17th with many new salient featur...0 comments |
- Install Fail2Ban On Ubuntu Server 13.04/13.10 : Introduction Fail2Ban is an intrusion prevention framework written in the Python programming l...0 comments |
- 5 Android Apps that’s Going to Make Running Your Business Less Stressful : Running a business can be very stressful. You have to think about team collaboration, making sure th...0 comments |
- Install Crashplan backup tool in Linux : CashPlan is an automated backup solution that either uses the CrashPlan Central server or any other ...0 comments |
- install Git in Ubuntu : Git is a distributed revision control system with an emphasis on speed. Git was initially designed a...0 comments |
- Install Corosync and Pacemaker On CentOS 6.5 : I will show you in this tutorial how to install your first cluster Corosync and the Linux Cluster Ma...0 comments |
- Install Uget Download Manager In Ubuntu, Fedora, Debian
- Download Elementary OS ‘Luna’ Official Wallpapers
- Install Power Commands 0.1.5 On Ubuntu 14.04/13.10/12.10/12.04
- 5 Android Apps that’s Going to Make Running Your Business Less Stressful
- Puppet agent Install Using Script
- Install Corosync and Pacemaker On CentOS 6.5
- Install Fail2Ban On Ubuntu Server 13.04/13.10
- How To Install Google Chrome in Fedora 20, 19, 18
- How to surf using Tor Browser Bundle
- New Games got Greenlit on Linux by Steam Today!
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .