Skip to content

lordbink/puppet-ssh_keys

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH Keys Module

Sage Imel [email protected]

A concat based ssh authorized_keys management solution created mostly to work around ssh_authorized_keys not being able to purge old keys. Also since authorized keys are managed as file-lines you are not restricted to the subset of ssh authorized_keys functionality that the ssh_authorized_keys resource imposes.

Dependencies

Required

Quick Start

This module has been tested on Ubuntu though it is intended to work on any Unix/Linux like supported playform.

Example Usage

Managing Keys

include ssh_keys

ssh_keys::user{'foo':
  manage_ssh_dir => true,
}
  
ssh_keys::authorized_key{'foo-laptop':
  key_line => 'ssh-rsa long-key-here foo@bar',
  user     => 'foo',
}

About

Manage ssh authorized keys

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Puppet 100.0%