第一步,vim /etc/ssh/sshd_config编写文件中的PermitRootLogin yesPermitEmptyPasswords no保存之后重启sshservice ssh restart