How to enable SSH login and root account in Ubuntu Print

  • ubuntu, ssh, root ssh login, root account
  • 0

Follow the instructions below to enable SSH login and root account in Ubuntu:

 

1. sudo -i
2. sudo passwd root
3. /etc/ssh/sshd_config:
                   PermitRootLogin yes #enabled
4. sudo systemctl restart sshd


Was this answer helpful?

« Back