#设置ROOT密码 sudo passwd root #去掉注释 vi /etc/ssh/sshd_config PermitRootLogin yes PasswordAuthentication yes UsePAM yes #重启ssh 服务 /sbin/service sshd restart