...
Verify Open SSH is installed on the Windows system.
If necessary OpenSSH can be installed from the Settings Control Panel. In Settings under “Apps and Features” go to “Optional Features”.
...
Start SSHD service and run the ssh-keygen executable to create the public and private key pair. Save both the Public and Private keys.
...