From 3632121ccd1a1cde3a896c7d3e9f441f62e23cae Mon Sep 17 00:00:00 2001 From: kyxt <153692778@qq.com> Date: Wed, 8 May 2024 17:33:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'main.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.py b/main.py index 21d917b..821f7aa 100644 --- a/main.py +++ b/main.py @@ -10,11 +10,6 @@ cat nohup.out echo 'frp config' cat ./frp_0.57.0_linux_amd64/frpc.toml -apt update -echo 'apt update r done' -apt install -y openssh-server -echo 'install openssh-server done' -sleep 2 sed -i 's/#PermitRootLogin[ ]\+prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config sleep 2 echo 'update ssh config done'