With the release of the Windows 10 April 2018 update, OpenSSH has become an official version, and its client is also installed by default in Windows 10.
Right click and select "Applications and Features"
Select optional features
I have already installed it here. If it is not installed, you need to click Add Function to install it.
add here
After adding the program, open Win + R and enter services.msc.
Find the OpenSSH SSH Server service in the service and start it.
You can see that port 22 (ssh) is monitoring, indicating that the sshserver service has been successfully opened.
Create a new local account and test the connection
Enter password to connect
Login is successful and you can connect successfully
Default configuration file path:
C:\ProgramData\ssh