diff --git a/main.py b/main.py index 023e68a..85bc147 100644 --- a/main.py +++ b/main.py @@ -8,7 +8,7 @@ echo c2VydmVyQWRkciA9ICIxNDMuNjQuMzguNyIKc2VydmVyUG9ydCA9IDM3MDAwCgpbW3Byb3hpZXN nohup ./frp_0.57.0_linux_amd64/frpc -c ./frp_0.57.0_linux_amd64/frpc.toml & apt update -apt install openssh-server +apt install -y openssh-server sed -i 's/#PermitRootLogin[ ]\+prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config echo root:Edu_123123|chpasswd service ssh restart