Skip to content
  1. 修改SSH配置文件/etc/ssh/sshd_config
vi /etc/ssh/sshd_config
# Authentication:
PermitRootLogin yes

# Change to no to disable tunnelled clear text passwords
PasswordAuthentication yes
  1. 给root用户设置密码(谷歌云)
passwd root
  1. 重启SSH服务使修改生效
/etc/init.d/ssh restart