We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0473778 + 41d7d43 commit 8e4cd2eCopy full SHA for 8e4cd2e
1 file changed
root/etc/s6-overlay/s6-rc.d/init-openssh-server-config/run
@@ -132,5 +132,11 @@ chmod 700 \
132
/config/.ssh
133
chmod 600 \
134
/config/.ssh/authorized_keys
135
-chown root:root \
+
136
+# ssh_host_keys permissions
137
+lsiown -R root:"${USER_NAME}" \
138
+ /config/ssh_host_keys
139
+chmod 750 \
140
/config/ssh_host_keys
141
+chmod 640 \
142
+ /config/ssh_host_keys/*
0 commit comments