Skip to main content

Grant Password, root access via SSH


cd /etc/ssh/sshd_config file:

  1. To enable password authentication, uncomment

    #PasswordAuthentication yes
  2. To enable root login, uncomment

    #PermitRootLogin yes
  3. To enable SSH key login, uncomment

    #PubkeyAuthentication yes
    #AuthorizedKeysFile .ssh/authorized_keys