// 先GCP内平台工具登录shell

// 切换root
sudo -i

// 更新密码
passwd

// 允许远程登录
vim /etc/ssh/sshd_config
设置 PermitRootLogin no=>PermitRootLogin yes
设置 PasswordAuthentication no=>PasswordAuthentication yes

//重启
reboot

标签: none

添加新评论