How to allow SSH Remote Access for the root account:
You will need to change the /etc/ssh/sshd_config
file to allow this:
sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
You then need to Restart the SSH service:
sudo systemctl restart ssh
Then you should set a password for root:
sudo passwd
That is it.
Leave a Reply
You must be logged in to post a comment.