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 42e3093 commit dcebd47Copy full SHA for dcebd47
1 file changed
root/etc/s6-overlay/s6-rc.d/init-openssh-server-config/run
@@ -35,8 +35,8 @@ if [[ -f /config/ssh_host_keys/sshd_config ]]; then
35
mv /config/ssh_host_keys/sshd_config /config/sshd/sshd_config
36
sed -i 's/Include \/etc\/ssh\/sshd_config.d\/\*.conf/#Include \/etc\/ssh\/sshd_config.d\/\*.conf/' /config/sshd/sshd_config
37
echo "This file has been moved to /config/sshd/sshd_config" > /config/ssh_host_keys/sshd_config_README
38
- chmod 600 /config/sshd/sshd_config/ssh_host_*_key
39
- 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
40
fi
41
42
if [[ ! -f /config/sshd/sshd_config ]]; then
0 commit comments