From dcebd4769c4e43cb83e1fc9afa72d6c0d269aa8c Mon Sep 17 00:00:00 2001 From: thespad Date: Wed, 27 Nov 2024 18:33:02 +0000 Subject: [PATCH] Fix path typo --- root/etc/s6-overlay/s6-rc.d/init-openssh-server-config/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/etc/s6-overlay/s6-rc.d/init-openssh-server-config/run b/root/etc/s6-overlay/s6-rc.d/init-openssh-server-config/run index 65593ae..f7d375e 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-openssh-server-config/run +++ b/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 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