How do root users log in directly or remotely on debian or Ubuntu
This article mainly explains "how to log in directly or remotely for root users on debian or Ubuntu". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to log in directly or remotely for root users on debian or Ubuntu.
Debian or Ubuntu do not allow root users to log in by default, of course, for the sake of system security! If you want to skip logging in directly with root, you can modify it by referring to the following settings:
Vi / etc/ssh/sshd_config
Find the PermitRootLogin without-password line and modify it to
PermitRootLogin yes
Restart the service
Service sshd restart
At this point, I believe you have a deeper understanding of "how root users log in directly or remotely on debian or Ubuntu". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!