Aws Lightsail root登录启动脚本
创建实例时,如图点击:Add launch script 输入脚本代码: echo root:urpassword |sudo chpasswd root sudo sed -i 's/^.*PermitRootLogin.*/Permit...
创建实例时,如图点击:Add launch script 输入脚本代码: echo root:urpassword |sudo chpasswd root sudo sed -i 's/^.*PermitRootLogin.*/Permit...