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


autossh (3) Versions 0.3.0

Deploy autossh services

cookbook 'autossh', '~> 0.3.0'
cookbook 'autossh', '~> 0.3.0', :supermarket
knife supermarket install autossh
knife supermarket download autossh
Quality 88%

autossh Cookbook

Configure autossh service from attributes or LWRP.

Cookbook Version Build Status



The following platforms and versions are tested and supported using Opscode's test-kitchen. - Debian 8



Key Type Description
[autossh] Hash Hash of autossh services to deploy: {})



Include autossh in your node's run_list to install autossh package: json { "name":"my_node", "run_list": [ "recipe[autossh]" ] }


Include autossh::services in your node's run_list to deploy autossh services: json { "name":"my_node", "run_list": [ "recipe[autossh]", "recipe[autossh::services]" ], "attributes": { "autossh": { "kitchen": { "ssh_host": "localhost", "lport": 42, "rport": 22, "luser": "kitchen", "ruser": "kitchen" } } } }

Custom resources


This LWRP can be used to deploy autossh services.

Action Description
:create Create an autossh service
:delete Disable service and delete systemd file
Attribute Type Description
bin String Path to autossh
flags String Flags to pass to autossh command
ssh_host String SSH host to connect
ssh_port Integer SSH port to connect
bind String Bind address on remote host
lport Integer Local port of the reverse ssh
rport Integer Remote port of the reverse ssh
luser String Local user to connect to the host
ruser String Remote user to connect to
autossh_service 'kitchen' do
  ssh_host 'localhost'
  lport 42
  rport 22
  luser 'kitchen'
  ruser 'kitchen'


See [](


See [](

License and Authors

Authors: Sliim

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, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.


This file is used to list changes made in each version of the autossh cookbook.


  • Add as dependency for systemd service
  • CI fixes


  • Reload systemd daemon and restart service on service template change
  • Add enabled resource property


  • Initial release of autossh cookbook

Collaborator Number Metric

0.3.0 failed this metric

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

Contributing File Metric

0.3.0 passed this metric

Foodcritic Metric

0.3.0 passed this metric

No Binaries Metric

0.3.0 passed this metric

Publish Metric

0.3.0 passed this metric

Supported Platforms Metric

0.3.0 passed this metric

Testing File Metric

0.3.0 passed this metric

Version Tag Metric

0.3.0 passed this metric