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