diff --git a/DockerFile b/DockerFile index 3d6cafb..7b03a17 100644 --- a/DockerFile +++ b/DockerFile @@ -31,9 +31,7 @@ COPY --chown=BigFiles:group --from=BUILDER /home/scripts/ssh / RUN chmod +x /port_forward.sh RUN chmod +x /start.sh RUN chmod +x /begin.sh -# RUN chmod 305 /etc/ssh/sshd_config -RUN chmod 777 /etc/ssh/sshd_config -RUN chmod 777 /usr/sbin/sshd +RUN chmod 305 /etc/ssh/sshd_config RUN chmod 305 /etc/ssh/ssh_host_rsa_key RUN chmod 305 /etc/ssh/ssh_host_ecdsa_key RUN chmod 305 /etc/ssh/ssh_host_ed25519_key