From 3a1f155eb8b5e1b7e3ff084ad5acdbee6f2781e6 Mon Sep 17 00:00:00 2001 From: Zherphy <1123678689@qq.com> Date: Fri, 6 Dec 2024 11:25:09 +0800 Subject: [PATCH] edit: edit DockerFile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改/usr/sbin/sshd操作权限 --- DockerFile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DockerFile b/DockerFile index 6297aff..9432e12 100644 --- a/DockerFile +++ b/DockerFile @@ -34,6 +34,8 @@ RUN chmod +x /begin.sh RUN chmod 777 /etc/ssh/sshd_config RUN chmod 777 /usr/sbin/sshd 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 WORKDIR /home/BigFiles USER BigFiles