Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-openssh-server-config/run
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,11 @@ chmod 700 \
/config/.ssh
chmod 600 \
/config/.ssh/authorized_keys
chown root:root \

# ssh_host_keys permissions
lsiown -R root:"${USER_NAME}" \
/config/ssh_host_keys
Comment thread
thespad marked this conversation as resolved.
chmod 750 \
/config/ssh_host_keys
chmod 640 \
/config/ssh_host_keys/*