Browse Source

更新 'main.py'

master
kyxt 4 months ago
parent
commit
3632121ccd
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      main.py

+ 0
- 5
main.py View File

@@ -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'


Loading…
Cancel
Save