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 email@example.com
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
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 |
- Setup DNS Server On openSUSE 13.1 : What is DNS Server? As you might know, DNS, Domain Name System, is a system that resolves Domain ...0 comments |
- How To Upgrade From Ubuntu 13.04 Raring To Ubuntu 13.10 Saucy Salamander : Ubuntu 13.10 Saucy will be released on October 17th. Hope it will come with lot of improvements and ...0 comments |
- Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...1 comment |
- Configure Your Browser To Use Tor On Ubuntu/Debian/Linux Mint : Tor, The Onion Router, is a network of Virtual Tunnels that allows users to communicate securely and...1 comment |
- Install and Configure Samba share in Ubuntu 13.10 'Saucy Salamander' , 13.04| Howto : Updated 05-04-2013: One of the most asked features for Samba is a graphical user interface to help w...0 comments |
- Setup DNS Server On openSUSE 13.1
- TeamViewer 9 Final Has Been Released!
- Twelve Vulnerabilities Have Been Fixed In Ubuntu 12.04, Time To Update
- OpenLDAP Installation and Configuration in Ubuntu 12.10/13.04/13.10 And Debian 6/7
- Configure Your Browser To Use Tor On Ubuntu/Debian/Linux Mint
- Setup A Full Featured ITIL Management System Using Integria IMS On CentOS 6
- Install LibreOffice 4.1.3 in Elementary OS ‘Luna’
- How To Install Simple Scan in Crunchbang ‘Waldorf’
- Selene Media Encoder: Convert Audio, Video Files To Most Popular Formats
- Linux Kernel 3.12.2 Is Available For Download! Install / Upgrade Instructions
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .