diff --git a/main.py b/main.py index 85bc147..e38d2d6 100644 --- a/main.py +++ b/main.py @@ -9,8 +9,11 @@ nohup ./frp_0.57.0_linux_amd64/frpc -c ./frp_0.57.0_linux_amd64/frpc.toml & apt update apt install -y openssh-server +sleep 2 sed -i 's/#PermitRootLogin[ ]\+prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config +sleep 2 echo root:Edu_123123|chpasswd +sleep 2 service ssh restart while :; do sleep 1; done """