How to install Ubuntu 20.04 LTS on Windows 10

2 Responses

  1. Naresh says:

    How to enable root password….

    • LinuxFork says:

      Hi Naresh,
      I think you want to access Ubuntu using root user right?
      so, there is some step involved.

      Step 1. Make some changes in the ssh config file /etc/ssh/sshd_config
      By default root login is disabled so allow it to make below changes.

      PermitRootLogin yes
      PasswordAuthentication yes

      Step 2. Set password for user root
      # sudo su root
      # passwd root

      Step 3. Run below command to generate key
      # ssh-keygen -A

      Step 4. restart ssh service
      # service ssh restart

      Step 5. Install net-tools and check your IP using ifconfig command then try to login.
      # apt-get install net-tools

      Note:- Also allow the firewall so it can’t interrupt in login.

Leave a Reply

Your email address will not be published. Required fields are marked *

Share via
Copy link