Windows Server Installation OpenSSH

Source: Internet
Author: User

    1. File your own online download or Baidu Cloud disk extract can
    2. Execute Setupssh.exe, keep next down.
    3. Copy the Sshd_config file from the installation directory to the C:\Program files (x86) \openssh\etc\ directory
      The contents of the file are as follows:
      Port 26333Protocol 2ListenAddress 0.0.0.0PermitRootLogin yesstrictmodes yesrsaauthentication noignoreuserknownhosts Yespasswordauthentication yesuseprivilegeseparation Nousedns nomaxstartups 10:30:60banner/etc/banner.txtsubsystem    sftp    /usr/sbin/sftp-server
    4. Execute all program directories in activate a User, select an account to activate, and enter the password
    5. Run the window input services.msc, locate the Opensshserver service, click the Log on option, modify the account to activate the account, and enter the password again
    6. Restart Opensshserver Service
    7. Test
      Ssh-p 26333 [email protected]
    8. If you need no password to log in, on the Linux server, enter the command: Ssh-keygen, all the way to generate a certificate file
    9. Cat/root/.ssh/id_rsa.pub Copy the contents of the file to: C:\Program files (x86) \icw\home\jerry.huang\.ssh file.
    10. Start enjoying the pleasure of managing Windows with Linux code ~

Windows Server Installation OpenSSH

Related Article

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.