Skip to content

Commit

Permalink
Added windows-openssh-server module
Browse files Browse the repository at this point in the history
  • Loading branch information
craigcomstock committed Oct 3, 2024
1 parent 9f864c8 commit 0f78a78
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions software/windows/windows-openssh-server.cf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
bundle agent openssh_server
{
methods:
data:openssh_server_installed::
"openssh_server_installed";
}

bundle agent openssh_server_installed
{
methods:
windows::
"Add OpenSSH.Server Capability"
usebundle => windows_capability_present("OpenSSH.Server~~~~0.0.1.0"),
classes => classes_generic("openssh");

services:
windows.openssh_ok::
"sshd"
service_policy => "start",
service_method => winmethod;
}

body service_method winmethod
{
service_type => "windows";
service_autostart_policy => "boot_time";
}

0 comments on commit 0f78a78

Please sign in to comment.