Skip to content

Allow module to manage "/etc/ssh/ssh_known_hosts" file.#2

Open
arthurfurlan wants to merge 1 commit intoblt:masterfrom
configr:master
Open

Allow module to manage "/etc/ssh/ssh_known_hosts" file.#2
arthurfurlan wants to merge 1 commit intoblt:masterfrom
configr:master

Conversation

@arthurfurlan
Copy link

Allow module to manage "/etc/ssh/ssh_known_hosts" file.

ssh::resource::known_hosts { 'global-known-hosts':
  hosts               =>  'github.com,bitbucket.org',
  user                =>  'root',
  root                =>  '/etc/ssh',
  known_hosts         =>  '/etc/ssh/ssh_known_hosts',
  known_hosts_mode    =>  '0644',
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant