Maintenance: GitLab GKE platform upgrade and software upgrade on Friday August 6 at 9 p.m. Service may not be available between 9 p.m. and 9:20 p.m.

Verified Commit 32accad0 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

fix file perms on /root/.ssh/authorized_keys

parent faf86c22
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment