From 044ca77535414a5ebee71b1e96fb5ad04f59e180 Mon Sep 17 00:00:00 2001 From: wangzixiang <17839623189@163.com> Date: Tue, 4 Jun 2024 16:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit update --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a7b71ec..bf31aeb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,9 @@ RUN apt-get update RUN apt-get install -y vim RUN apt-get install -y net-tools RUN apt-get install -y iputils-ping +RUN apt-get install -y openssh-server -CMD rm -rf /root/.ssh && mkdir /root/.ssh && cp -R /root/ssh/* /root/.ssh/ && chmod -R 600 /root/.ssh/* && \ -ssh \ +CMD ssh \ -C \ -f \ -N \