搜索
从网页命令行进入,使用命令修改root密码
1sudo passwd root
切换到root用户
1su root
找到配置文件/etc/ssh/sshd_config 修改PermitRootLogin和PasswordAuthentication选项为yes
保存; 重启sshd服务