Open sshd_config file:
# nano /etc/ssh/sshd_config
Find out line that read as follows:
PermitRootLogin no
Set it as follows:
PermitRootLogin yes
After that press ctrl + x and save file. Then restart sshd service
Open sshd_config file:
# nano /etc/ssh/sshd_config
Find out line that read as follows:
PermitRootLogin no
Set it as follows:
PermitRootLogin yes
After that press ctrl + x and save file. Then restart sshd service