Skip to content

Commit

Permalink
Merge pull request #96 from linuxserver/more-perms
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad authored Nov 24, 2024
2 parents 0473778 + 41d7d43 commit 8e4cd2e
Showing 1 changed file with 7 additions and 1 deletion.
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
chmod 750 \
/config/ssh_host_keys
chmod 640 \
/config/ssh_host_keys/*

0 comments on commit 8e4cd2e

Please sign in to comment.