As the root user, edit the sshd_config file found in /etc/ssh/sshd_config

Add the following line to the file

PermitRootLogin yes

Restart the SSH server:

systemctl restart sshd

or

service sshd restart

Previous Post Next Post