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