freesshd is a free software installed on the WINDOWS operating system to provide SSH services.
method/step
-
Download the latest software version from the FREESSHD official website, the download address is http://www.freesshd.com/?ctt=download
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
Continue the system above by setting port 22 open on the firewall.
-
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.
END