[MODULES-7611] sshkey resource created /etc/ssh/ssh_known_hosts mode 0600 Created: 2014/07/07  Updated: 2020/01/22

Status: Accepted
Project: Modules
Component/s: sshkeys_core
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: redmine.exporter Assignee: Unassigned
Resolution: Unresolved Votes: 5
Labels: redmine
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Epic Link: ssh_authorized_key Type/Provider Improvements
Team: Night's Watch

 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.



 Comments   
Comment by Simon Tremblay [ 2015/07/22 ]

file mode should be 644.

Generated at Fri Aug 07 09:30:04 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.