根据视频 SSH 登录 VPS,然后输入脚本,脚本如下!
sudo -i
echo root:V2rayssr |chpasswd root
sed -i ‘s/^#\?PermitRootLogin.*/PermitRootLogin yes/g’ /etc/ssh/sshd_config; sed -i ‘s/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g’ /etc/ssh/sshd_config;
service sshd restart
默认密码是: V2rayssr
登录后一定要修改密码!密码修改命令:passwd
oracle ubuntu 暂时用不了,待查
评论区