Skip to content

Instantly share code, notes, and snippets.

@big-samantha
Created September 12, 2012 22:36
Show Gist options
  • Save big-samantha/3710493 to your computer and use it in GitHub Desktop.
Save big-samantha/3710493 to your computer and use it in GitHub Desktop.
## We need to push a custom config for openssh.
## Mainly so that we uncomment #AuthorizedKeysFile %h/.ssh/authorized_keys
class ssh::config {
include ssh::params
file {'/etc/ssh/sshd_config':
ensure => present,
source => "$ssh::params::sshd_config",
owner => 'root',
group => 'root',
require => Class['ssh::install']
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment