Skip to content

Commit

Permalink
Use slightly more restrictive permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Nov 24, 2024
1 parent cde9104 commit 41d7d43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions root/etc/s6-overlay/s6-rc.d/init-openssh-server-config/run
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ chmod 600 \
/config/.ssh/authorized_keys

# ssh_host_keys permissions
lsiown -R root:root \
lsiown -R root:"${USER_NAME}" \
/config/ssh_host_keys
chmod 755 \
chmod 750 \
/config/ssh_host_keys
chmod 644 \
chmod 640 \
/config/ssh_host_keys/*

0 comments on commit 41d7d43

Please sign in to comment.