Windows Subsystem for Linux

Source: Internet
Author: User

Preparation materials, Windows Ten, Xshell 5/putty, xmanager/xming.

1. Open Control Panel, programs and features, left "turn Windows features on or off", Windows subsystem, tick check box

2. Windows command line Input bash waiting for download installation

After that, you can search for bash from the Start menu to open the

3. Open Bash from the Start menu

Edit/etc/ssh/sshd_config

Add/Modify the following items

0.0. 0.0  2222 #只要不是默认的22就好

Set Xshell, be sure to create a new link and save, from the Xshell command line directly ssh will fail. Never tried putty.

4.4th need to do every use

Save the following for VBS format

Set WshShell = CreateObject ("Wscript.Shell")WshShell.  Run CHR & bash & chr, 0Set WshShell =   Nothing

Double-click Run, the foreground is not displayed, will run a bash terminal in the background

Start Menu Open Bash

sudo service ssh--full-restart

Close this bash

Use Xshell to open an already established session.

Windows Subsystem for Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.