In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces suse 10 how to configure SSH password-less login, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
RSH configuration (each machine in the cluster does the following)
1. Since SUSE LINUX does not come with the RSH-SERVER service, you first need to download the RPM package of the rsh-server service from www.rpmfind.net.
Then switch to the ROOT user to install the corresponding file rpm-ivh rsh-server-0.17-15mdk.x86_64.rpm
two。 Configure / etc/hosts to confirm that each machine in the cluster has three identical files / etc/hosts / etc/hosts.equiv / root/.rhosts
3. Edit / etc/securetty file to add three rsh rexec rlogin services
4. Edit / etc/xinetd.d/rexec, rlogin, rsh. Change "disable = YES" to "disable = NO", which needs to be removed or commented out.
5. Restart the service service xinetd restart
6. After the service is restarted successfully, test the RSH NODEX and enter.
7. Configure a mutual trust relationship
First, execute the following command on two nodes
Mkdir / .ssh
Chmod 700. ssh
Ssh-keygen-t rsa
Ssh-keygen-t dsa
Then, execute the following command on the node dbtest1
Cat ~ / .ssh/id_rsa.pub > > ~ / .ssh/authorized_keys
Cat ~ / .ssh/id_dsa.pub > > ~ / .ssh/authorized_keys
Ssh dbtest2 cat ~ / .ssh/id_rsa.pub > > ~ / .ssh/authorized_keys
Ssh dbtest2 cat ~ / .ssh/id_dsa.pub > > ~ / .ssh/authorized_keys
Scp / .ssh/authorized_keys dbtest2:~/.ssh/authorized_keys
Thank you for reading this article carefully. I hope the article "how to configure SSH password-less login with suse 10" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and follow the industry information channel. More related knowledge is waiting for you 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.