A PowerShell script plus few config files for most seamless deployment of SSH server on Windows machine.
Download Zip from https://github.com/ppivo/SSHdeployer/archive/main.zip then open PowerShell as admin, navigate to install folder and run:
.\Deploy-SSH.ps1
If script execution is disabled, run the following line and then try again:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine -Force -Confirm:$false;
.\Deploy-SSH.ps1
For more info, see Deploy-SSH.ps1 file