The remote root login


  1. install ssh service

    sudo apt-get install ssh
  2. edit config file

    sudo vim /etc/ssh/sshd_config

    change PermitRootLogin ‘s value into yes

    image-20220523200715794

  3. restart ssh service

    /etc/init.d/ssh restart

Author: Liang Junyi
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source Liang Junyi !
  TOC