Skip to content

Commit

Permalink
Fix path typo
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Nov 27, 2024
1 parent 42e3093 commit dcebd47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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 @@ -35,8 +35,8 @@ if [[ -f /config/ssh_host_keys/sshd_config ]]; then
mv /config/ssh_host_keys/sshd_config /config/sshd/sshd_config
sed -i 's/Include \/etc\/ssh\/sshd_config.d\/\*.conf/#Include \/etc\/ssh\/sshd_config.d\/\*.conf/' /config/sshd/sshd_config
echo "This file has been moved to /config/sshd/sshd_config" > /config/ssh_host_keys/sshd_config_README
chmod 600 /config/sshd/sshd_config/ssh_host_*_key
chmod 644 /config/sshd/sshd_config/ssh_host_*_key.pub
chmod 600 /config/ssh_host_keys/ssh_host_*_key
chmod 644 /config/ssh_host_keys/ssh_host_*_key.pub
fi

if [[ ! -f /config/sshd/sshd_config ]]; then
Expand Down

0 comments on commit dcebd47

Please sign in to comment.