It is necessary to install ssh on the win-server. Which is best to choose? Found a lot of different options in which you can easily get lost. It requires free and good functionality, albeit a long time to understand it.
WinSSHD (Personal Edition is free for non-commercial use) is quite a good one that I know of:
- supports PowerShell;
- there is an API for automation;
- writes logs;
- configured by user, group, IP, DNS;
- supports OpenSSH public keys;
- and various other things, see the link.