0

I'm creating a service that makes use of sshd (aka OpenSSH.Server). However, although I know that all the Windows versions we need to support can run sshd, I can't guarantee that it'll actually be installed on every machine the service will run on.

I'm a little confused by the various concepts surrounding Windows services and how they get installed, but ideally what I'd like would be for the service to add sshd as part of its installation process if it doesn't exist on the system. Intuitively this makes sense to me because OpenSSH.Server is a "Windows Capability", but is there an actual mechanism to support it? Would brute-force installation from the command-line as part of the service's startup be a viable alternative?

0 Answers0