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


ssh_known_hosts (35) Versions 0.6.0

Dyanmically generates /etc/ssh/ssh_known_hosts based on search indexes

cookbook 'ssh_known_hosts', '= 0.6.0', :supermarket
cookbook 'ssh_known_hosts', '= 0.6.0'
knife supermarket install ssh_known_hosts
knife supermarket download ssh_known_hosts
Quality -%


Build /etc/ssh/known_hosts based on search indexes and build it based on data retrieved by ohai.
You can also optionally put other host keys in a data bag called "ssh_known_hosts".
See below for details.


Should work on any platform that uses /etc/ssh/known_hosts.

Requires Chef Server for search.


Searches the Chef Server for all hosts that have SSH host keys and
generates an /etc/ssh/known_hosts.

Adding custom host keys

If you want to add custom host keys for hosts not in your Chef deployment (such
as, for example), create a data bag called "ssh_known_hosts" and add
an item for each host to it that looks like this:

  "id": "github",
  "fqdn": "",
  "rsa": "github-rsa-host-key"

You can also specify the following optional values in the data bag:

  • ipaddress : Will be resolved from the fqdn value if not specified
  • hostname : Short hostname form of the host without domain name
  • dsa : If the host has a dsa host key, specify it as "dsa" instead of "rsa"

License and Author

Author:: Scott M. Likens (

Copyright:: 2009, Opscode, Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

builder Applicable Versions
config-driven-helper Applicable Versions
deploy-context Applicable Versions
deploy-user Applicable Versions
eucalyptus Applicable Versions
git_user Applicable Versions
github_connector Applicable Versions
github_users Applicable Versions
gitolite-server Applicable Versions
hadoop_for_hbase Applicable Versions
jenkins_drupal Applicable Versions
nodestack Applicable Versions
prun-cfg Applicable Versions
rdiff-backup Applicable Versions
resin Applicable Versions
stack-base Applicable Versions

No quality metric results found