Skip to content
Snippets Groups Projects
Verified Commit 32accad0 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

fix file perms on /root/.ssh/authorized_keys

parent faf86c22
No related branches found
No related tags found
No related merge requests found
......@@ -117,8 +117,9 @@ class base::ssh(
if ($root_authorized_keys) {
file { '/root/.ssh/authorized_keys':
ensure => present,
ensure => present,
content => $root_authorized_keys,
mode => '0640',
}
} else {
# Make sure public key authentication to root does not work and clean up
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment