Get the App
SLTechnology News&Howtos  ›  Servers  › 

How do root users log in directly or remotely on debian or Ubuntu

Shulou Source: shulou.com Published: 2022-06-01 14:44:24 10月03日 Update

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!

Tags: Login user content learning practical deeper security interest practicality practical easy to operate method more friends systems websites channels references services inquiries Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Microsoft NVidia OPPO Reno Shulou Technology