甲骨文与谷歌云等默认密钥型VPS一键获取root权限:
bash <(curl -sSL https://raw.githubusercontent.com/panhuanghe/vpsroot/main/root.sh)
甲骨文与谷歌云等默认密钥型VPS一键获取root权限:
bash <(curl -sSL https://raw.githubusercontent.com/panhuanghe/vpsroot/main/root.sh)
Hestia面板该有的都有,别的面板没有的它也有,其还可以搭建自己的NS服务器。
如果安装时没有设置密码,可以修改密码: v-change-user-password "admin" "NewPassword"
创建实例时点击:Add launch script
输入脚本代码:
echo root:password |sudo chpasswd root
sudo sed -i 's/^.*PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config;
sudo sed -i 's/^.*PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config;
sudo reboot
其中password是密码