In order to access root user on linux, you need to set a password first.
Login to your server with ssh using Terminal or Command Prompt:
ssh username@IP
you will be prompted to type in your password, confirm with ENTER
After logging in, you will need to set the password for root
1. Login as root
sudo su
2. Set a new password
passwd
Please note that you cannot see any passwords while typing, this is intentional.

