Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Ubuntu ssh connection root verification error what to do

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article focuses on "Ubuntu ssh connection root verification errors how to do", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "Ubuntu ssh connection root verification errors how to do" it!

Build Ceph distributed storage system, tried stand-alone deployment, the final health check always failed, built several machines are like this, I do not know why. No way, can only try multi-machine deployment, but just came up to the ssh this password-less login is difficult, obviously according to the steps is no problem, but the root login can not go through. As shown in the picture below, always report permission to refuse, the egg hurts.

After thinking about it, it may be that Linux has restrictions on root remote login, and then Baidu (somehow, Google access is not available). Seeing a bunch of solutions, to put it simply, change the value of PermitRootLogin in the / etc/ssh/sshd-config file of both machines to yes. And then try, still the same, it feels incredible, is my grandfather baffled by this stupid question, so I wonder if the root password is wrong, or not set and then give a random password or something. It seems to make sense, because the root password was not set at the time of installation. A hundred degrees of determination. See this article

Then try to log in, it's a success!

At this point, I believe that everyone on the "Ubuntu ssh connection root verification errors how to do" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report