Install and configure freesshd on windows server 2008R2

freesshd is a free software installed on the WINDOWS operating system to provide SSH services.

Tools/Materials

  • freesshd software, windows server 2008 R2, putty

method/step

  1. Download the latest software version from the FREESSHD official website, the download address is http://www.freesshd.com/?ctt=download

    Install and configure freesshd on windows server 2008R2
  2. Double-click the just downloaded freeSSHd.exe to install. Others are default installation options during installation. Only the last two steps will pop up a dialog box asking whether to generate a private key and whether to set it as a system service. Select "yes", because no private key is generated. key, the SSH service will not be able to start. If the system service is set, the SSH service will be automatically started every time you boot.

    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
  3. Because you chose to set it as a system service when you just installed it, the program will start immediately. Because FREESSHD has not been configured yet, we need to open the freesshd settings window for configuration. Therefore, we need to put the service just started into the process and end it, otherwise click again. When the desktop opens the freesshd configuration, the SSH service cannot be started because port 22 is occupied. As shown in the figure below, end the freesshdservice.exe process in the process.

    Install and configure freesshd on windows server 2008R2
  4. Click on the freesshd icon on the desktop to start configuring freesshd. It's welcome box pops up the first time you open it, but not after that.

    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
  5. First go to the USER tab to add an SSH user, as shown in the figure, add the default system administrator account, and select NT authentication for authorization. In this case, the password is the password of the system administrator account. Then check the shell option and confirm to add.

    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
  6. Go back to the main interface, select the Authentication tab, select the Required item for password authentication, and select Disabled for Public key authentication. If the connection is not set in this way, an Access denied error will occur, resulting in the ssh client not being able to connect.

    Install and configure freesshd on windows server 2008R2
  7. Right-click the freesshd icon under the taskbar and click Unload to launch the software, and then reopen the freesshd software to make the 6-step configuration take effect. After opening, click Click here to start under ssh server to start the SSH service.

    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
  8. After the above configuration is completed, you need to release port 22 in the firewall that comes with the Windows server 2008 r2 operating system in order to provide external services. The operation is as shown below.

    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
  9. Continue the system above by setting port 22 open on the firewall.

    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
  10. So far, the freesshd software installation and configuration is complete, find a client, download a ssh client software putty, connect to the ssh service provided by the freesshd software and log in successfully.

    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
    Install and configure freesshd on windows server 2008R2
    END

Precautions



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325734133&siteId=291194637