December 3, 2017 — #ssh#root#linux
In order to be able to login as root via ssh you need to give the root account a password.
sudo passwd root
Then check your ssh config file
sudo nano /etc/ssh/sshd_config
Search for PermitRootLogin and change it to yes
PermitRootLogin