修改 /etc/ssh/sshd_config 找到并修改
PermitRootLogin yes
PasswordAuthentication yes
重新启动ssh
/etc/rc.d/sshd restart