ssh: fix ssh_host_key perms
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"Z /etc/ssh 755 root root"
|
"Z /etc/ssh 755 root root"
|
||||||
|
"Z /etc/ssh/ssh_host_* 600 root root"
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.${username}.openssh.authorizedKeys.keys = [
|
users.users.${username}.openssh.authorizedKeys.keys = [
|
||||||
|
|||||||
Reference in New Issue
Block a user