Unable to remotely log in to the root user of centOs
Technical otaku
2022-12-25
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
0 Comments