To Allow Root Login remotely is a big risk for your server and it can be hacked.
For security reason it is recommenced to disable root login. you can follow below steps to disable root login.
You can create a user different with root access and disable root login for externally.
$ adduser mynewuser
$ passwd mynewuser (generate strong password)
To Assign Root priviliages to your user:
$ mynewuser ALL=(ALL) ALL
Login into your server with root login and manually edit /etc/ssh/sshd_config and change PermitRootLogin to “no”
See uncommitted line below:
Then restart SSH in by typing
$ service sshd restart
Stopping sshd: [ OK ]
Starting sshd: [ OK ]
Now verify it again
$ ssh myipaddress or mydomain.com -l root
IT should give you output like:
Permission denied, please try again…