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 cde9104 commit 41d7d43Copy full SHA for 41d7d43
1 file changed
root/etc/s6-overlay/s6-rc.d/init-openssh-server-config/run
@@ -134,9 +134,9 @@ chmod 600 \
134
/config/.ssh/authorized_keys
135
136
# ssh_host_keys permissions
137
-lsiown -R root:root \
+lsiown -R root:"${USER_NAME}" \
138
/config/ssh_host_keys
139
-chmod 755 \
+chmod 750 \
140
141
-chmod 644 \
+chmod 640 \
142
/config/ssh_host_keys/*
0 commit comments