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