In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to prohibit root users from connecting with solaris11 ssh". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how solaris11 ssh forbids root users to connect.
For the newly installed solaris11 in the virtual machine, a static IP address is configured during the installation to facilitate the ssh connection. When using the root user ssh connection, the password is not wrong, but it is always prompted that the password is rejected. The connection established represents that the connection is open, and the telnet IP is sure to pass, but the SSH is rejected, eliminating the problem of the password error (the password just set).
Check to see if the ssh service is turned on in the system you just installed.
The svcs command can view all services, but the solaris in vmware cannot slide the pulley to see what's above (which is why you don't want to use the solaris system directly in the virtual machine, but use the tool ssh to connect operations).
Use the pipe character | to view the status of the ssh service.
Svcs | grep ssh
Learned that the ssh service has been started.
Think about the problem that some highly privileged FTP users are prohibited from logging in the Linux system.
Sure enough, after cat / etc/ssh/sshd_config looked at the configuration file
Found that there is a permitrootlogin option followed by no
Use vim to modify the configuration file.
Vim / etc/ssh/sshd_config
Permitrootlogin yes
Restart the ssh service after saving
Svcadm restart ssh
Try again to connect with ssh using tools such as secure CRT, and it is a success.
At this point, I believe you have a deeper understanding of "solaris11 ssh how to prohibit root users from connecting". 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!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.