• notice
  • Congratulations on the launch of the Sought Tech site

Unable to remotely log in to the root user of centOs

Configure sshd_config

local computer:

vim /etc/ssh/sshd_config

Remove the # in front of the line #PermitRootLogin yes in the configuration. make this line work

 as the picture shows:

 Restart the ssh service

service sshd restart

Remote login is fine

This is dangerous and not recommended


Tags

Technical otaku

Sought technology together

Related Topic

0 Comments

Leave a Reply

+