[MODULES-7611] sshkey resource created /etc/ssh/ssh_known_hosts mode 0600 Created: 2014/07/07  Updated: 2018/08/06

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

Epic Link: ssh_authorized_key Type/Provider Improvements
Team: Coremunity


I used an sshkey resource like this:


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


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.

Comment by Simon Tremblay [ 2015/07/22 ]

file mode should be 644.

Generated at Wed Jan 22 03:11:07 PST 2020 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.