- 修改SSH配置文件/etc/ssh/sshd_config
vi /etc/ssh/sshd_config# Authentication:
PermitRootLogin yes
# Change to no to disable tunnelled clear text passwords
PasswordAuthentication yes- 给root用户设置密码(谷歌云)
passwd root- 重启SSH服务使修改生效
/etc/init.d/ssh restartvi /etc/ssh/sshd_config# Authentication:
PermitRootLogin yes
# Change to no to disable tunnelled clear text passwords
PasswordAuthentication yespasswd root/etc/init.d/ssh restart