查看配置文件vim /etc/ssh/sshd_config 发现有permitrootlogin without-password这个东西,把它改成permitrootlogin yes,保存退出,sudo reboot一下,再次连接一下,搞定!!!!!