Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


openssh-win (3) Versions 1.0.0

Installs/Configures openssh server on windows

cookbook 'openssh-win', '= 1.0.0', :supermarket
cookbook 'openssh-win', '= 1.0.0'
knife supermarket install openssh-win
knife supermarket download openssh-win
Quality 83%

OpenSSH Windows cookbook

Build Status

This cookbook can be used to install openssh server on windows nodes

Simple usage

Define the variables

default['openssh-win']['version'] = '' # default:

and include the openssh-win::default recipe. This will
* download and unzip OpenSSH for windows to C:\Program Files\OpenSSH-Win64
* add it to the path,
* Create the services for sshd and ssh-agent
* start the sshd and ssh-agent service s
* configure the sshd and ssh-agent services to start automatically
* Create a incoming firewall rule for port 22

Usage with wrapper cookbooks

a little more control can be leveraged using the openssh_win resource block
Usage example to install openssh:

openssh_win 'OpenSSH' do
  version '' # only needs to be specified in recourse name is not a version
  action :install 
  path 'C:\openssh' # Optional, default is 'C:\Program Files', the subfolder OpenSSH-Win64 will always be created
  add_to_path false # Optional, default is true
  startup_type :manual # Optional, values can be :disabled, :manual or :automatic (default)
  start_service false # Optional, default is true
  add_firewall_rule false # Optional, default is true

Usage example to remove openssh:

openssh_win '' do
  action :remove
  path 'C:\openssh' # This must match the path that was passed during install

Dependent cookbooks

windows ~> 5.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric

1.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric

1.0.0 passed this metric

Foodcritic Metric

1.0.0 passed this metric

No Binaries Metric

1.0.0 passed this metric

Testing File Metric

1.0.0 passed this metric

Version Tag Metric

1.0.0 passed this metric