Steps :
a) Edit file /etc/ssh/sshd_config
sudo nano /etc/ssh/sshd_config
b) Change following attribute.
FROM:
PermitRootLogin prohibit-password
TO:
PermitRootLogin yes
c) sudo service ssh restart
a) Edit file /etc/ssh/sshd_config
sudo nano /etc/ssh/sshd_config
b) Change following attribute.
FROM:
PermitRootLogin prohibit-password
TO:
PermitRootLogin yes
c) sudo service ssh restart