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
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