According to the site, they are working on X11 forwarding and an Android client. Note that Mosh doesn’t support some advanced SSh features, like X11 connections, yet. See the FAQ on the Mosh site about UTF-8 support. In some limited cases, you might run into problems with Mosh because it only supports UTF-8. It’s generally not recommended to install binaries on a system that you’re not administering without the knowledge of the admin. Note that it’s probably a good idea to at least mention to your admin that you’ll be uploading Mosh and using it from your home directory. Mosh -server=/home/user/bin/mosh-server servername If that’s the case, you’ll need to specify the path to the Mosh server on the command line, like so: Instead of typing ssh servername ssh you just type mosh servername or mosh In other words, the syntax is the same as if you’d used SSH.Īs mentioned above, you may need to install the mosh-server binary yourself if your admin doesn’t want to install the Mosh package. You might think that Mosh would be difficult to use. You’ll need to enable backports or a Personal Package Archive (PPA), but once that’s done it’s a simple as sudo apt-get install mosh. It took, maybe, five minutes to get everything installed. I’ve been testing Mosh on a Linux Mint box connecting to an Ubuntu 10.04 system. If you don’t have admin privileges over a server you need to connect to, and you can’t convince the admin you need Mosh, you’re stuck with SSH – or installing the Mosh binary in your home directory. This is the primary downside for Mosh over SSH at the moment. You need to install Mosh on the client and server that you’re going to be using. If Mosh becomes more popular, though, I suspect someone will take the charge in creating a Windows client as well. Sorry Windows users! You don’t get the cool tools like the rest of the *nix using folks. It doesn’t look like there’s a Mosh package or installer for Windows, though. If all of that doesn’t help, Mosh is open source (GPLv3 or later) and you can grab the source and compile on your own. If you look at the Mosh Website you’ll see that the project is packaged for Debian, Ubuntu, Fedora, Arch, and even Mac OS X. Mosh actually uses SSH to make the connection, but then hands off to the remote mosh-server and runs over UDP. When I say that Mosh is a “replacement” for SSH, that’s sort of an exaggeration, though. Mosh is a terminal application that supports roaming, intermittent connectivity, and gets rid of the wait for a server reply when showing you your keystrokes. It’d be better if you had a tool that could handle network problems and modern day computer usage with aplomb. Lots of us, for instance, use GNU Screen or Tmux to ensure that we can keep a shell session going if we need to drop our connection.īut that’s, well, kludgey. Some tools already provide a kludgey way around dropped connections and workers who need mobility. If you need a persistent connection, take a look at Mosh. When dealing with iffy Wi-Fi connections, moving around from coffeeshop to home office, or just putting your laptop to sleep for a few minutes, you lose your SSH connection. SSH is a wonderful thing, but it doesn’t deal very well with today’s mobile workers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |