Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7611

sshkey resource created /etc/ssh/ssh_known_hosts mode 0600

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sshkeys_core
    • Labels:

      Description

      I used an sshkey resource like this:

      <pre>
      sshkey

      { "host.domain.example": ensure => present, type => "ssh-rsa", key => "AAAblahblahblah==", }

      </pre>

      and puppet created the /etc/ssh/ssh_known_hosts file with sensible contents,
      but with mode 0600.

      This file is supposed to be world readable. Of course I can use a file
      resource to fix it, but I'd prefer it if puppet created it with a sensible mode.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              redmine.exporter redmine.exporter
            • Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:

                Zendesk Support