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.
1 parent 0473778 commit c4b3d3dCopy full SHA for c4b3d3d
1 file changed
root/etc/s6-overlay/s6-rc.d/init-openssh-server-config/run
@@ -132,5 +132,13 @@ 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:root \
138
+ /config/ssh_host_keys
139
+chmod 755 \
140
/config/ssh_host_keys
141
+chmod 644 \
142
+ /config/ssh_host_keys/sshd_config \
143
+ /config/ssh_host_keys/*.pub
144
+find /config/ssh_host_keys/ -name "ssh_host_*_key" -exec chmod 600 {} \;
0 commit comments