vi /etc/ssh/sshd_config
添加
PermitRootLogin yes
PasswordAuthentication yes
重启服务
service sshd restart