sudo passwd root
    vi /etc/ssh/sshd_config
    #注释
    PermitRootLogin yes
    #修改为 yes
    PubkeyAuthentication no
    #重启
    systemctl restart sshd.service