Forge Home

ssh

openssh server and client configuration

14,583 downloads

10,511 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.4.2 (latest)
  • 0.4.1
  • 0.4.0
  • 0.3.1
  • 0.3.0
  • 0.2.0
released Aug 6th 2015
This version is compatible with:
  • , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'spiette-ssh', '0.4.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add spiette-ssh
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install spiette-ssh --version 0.4.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

spiette/ssh — version 0.4.2 Aug 6th 2015

ssh puppet module

Build Status

This is the ssh module. It manage client and server configurations. It supports:

  • Any global sshd_config and ssh_config options
  • Match block defines to confine users, group, etc to a shell, a chroot, or an configuration options you can think of.

The following options are set in the default server options parameter

  • AuthorizedKeysFile => .ssh/authorized_keys
  • UsePAM => yes
  • Subsystem => sftp internal-sftp
  • PasswordAuthentication => yes
  • ChallengeResponseAuthentication => no
  • GSSAPIAuthentication => yes
  • GSSAPICleanupCredentials => yes
  • X11Forwarding => yes

The following options are set in the default client options parameter

  • ForwardX11Trusted => yes
  • GSSAPIAuthentication => yes

ssh::config have a config_template parameter to change the template file.

Requirements

  • puppetlabs/stdlib >= 3.0.0
  • puppetlabs/concat >= 1.1.2
  • facter >= 1.7.3
  • puppet 3.x (This bug prevent puppet 4.x support)

OS

  • RedHat and Debian OS family are supported.

License

Apache License, Version 2.0

Usage

Tests

To run tests, you'll need

  • rake
  • rspec_puppet
  • puppetlabs_spec_helper
  • puppet_spec_facts
  • puppet-blacksmith

Run rake help to see all targets, rake spec to run tests.

Contact

Simon Piette piette.simon@gmail.com

Support

Please log tickets and issues at our github page