![]() ![]() ![]() Note that you some features require more than just the WSL, so you might as well also turn on the Virtual Machine Platform and the Windows Hypervisor Platform now.Click Turn Windows features on or off in the right hand panel.Note: this is in the upper right normally, but if you have a narrow window it will be all the way down at the bottom. Then Programs and Features from the Related Settings section.Choose Settings (the gear icon in the left sidebar).Install the Windows Subsystem for Linuxįirst you have to install the Windows Subsytem for Linux (WSL) which you can do right from the Windows Settings. Unfortunately, this can take a bit of setup. Fortunately, Windows now *is* a Linux machine for all practical purposes which means you can run the Linux version of mosh. I tried this and it’s fairly miserable compared to a true mosh client on a Linux machine. The recommended way to install mosh on Windows is simply to install the mosh extension for Chrome. It’s long, but depending on your level of knowledge and the state of your system, you might be able to skip most of it (see contents above). I want the full power of a true bash-native mosh client and this guide will get you there from installation to setup. That is probably the easiest way as the excessive length of this guide shows, but I find that client limited and frustrating. In other words, why go to all this trouble when the official mosh documentation says that the best way to use mosh on Windows is to use the Chrome mosh client. This means that when you make a typo in a command, you can correct it at roughly the speed you can on a low-latency connection or even a local terminal. It can almost always tell whether or not you are just typing a command and it should wait for an before talking to the server or if you are madly smashing the CTRL-C key or the up arrow desperately trying to revert whatever damage you did with the last command. Dropped cell signal? Who cares?Įven better, on a high-latency connection, mosh has more brains than your average SSH client. ![]() Mosh on the other hand, will hold your beer for you while your connection drops, making sure that when it comes back, your session is still active and you’re still in the same place with your command history and everything. But SSH clients can’t do otherwise because they don’t know whether they should be waiting for an enter command or send the keystroke right away Life in a mosh client If you make a typo and have to backspace, may God have mercy on you. Add in switching and routing to and from the ground station and all that and you have to wait an entire second for the key to echo back. That takes 700ms just in travel time at the speed of light. When I type a letter, that poor lonely keystroke has to travel a minimum of 88,000 miles through the vast emptiness of space before it echos back on your screen. On a satellite connection, it’s arguably even worse. In a normal SSH client, if I drop my cell connection, I get kicked out of my session and have to log back in, completely forgetting where I was. Why install mosh on Windows 10? Life in a normal SSH client
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |