To allow root login access through ssh on linux the openssh server’s sshd_config file needs to be edited.
Edit the:
/etc/ssh/sshd_config
file and comment out the following line:
PermitRootLogin without-password
Just below it, add the following line:
PermitRootLogin yes
Then restart SSH:
service ssh restart