Answer :
- restart the ssh service on that machine
- edit the /etc/ssh/ sshd_config con?guration ?le to allow or prohibit users logging in to the system as root. Add below and save and exit
PermitRootLogin yes
Explanation :
The OpenSSH server uses the PermitRootLogin con?guration setting in the /etc/ssh/ sshd_config con?guration ?le to allow or prohibit users logging in to the system as root.
PermitRootLogin yes
With the PermitRootLogin parameter to yes, as it is by default,