Navigate to the ssh folder, eg:
cd /etc/ssh
Open the sshd_config file with a text editor.
Go to the line in the file which reads PermitRootLogin no and change the no to yes.
Save the changes to the file and finally, restart the sshd service by typing the folowing command:
service sshd restart
No comments:
Post a Comment