禁用root 的可以通过成登陆,可以修改/etc/ssh/sshd_config文件,将其中的PermitRootLogin改成no,然后重新启动ssh服务就可以了。/etc/rc.d/sshd restart