How to configure SSH password-less login in suse10
Source: Internet
Author: User
RSH configuration (each machine in the cluster performs the following operations) 1. because SUSELINUX does not have its own RSH-SERVER service, first download the RPM package for the rsh-server service from www.rpmfind.net. Switch to the ROOT user to install the corresponding file rpm & amp; ndash; ivhrsh-serve...
RSH configuration (each machine in the cluster performs the following operations) 1. because suse linux does not have its own RSH-SERVER service, first download the RPM package for the rsh-server service from www.rpmfind.net. And then switch to the ROOT user to install the corresponding file rpm-ivh rsh-server-0.17-15mdk.x86_64.rpm 2. configure/etc/hosts, and confirm that each machine in the cluster has three identical files:/etc/hosts. equiv/root /. rhosts www.2cto.com 3. edit the/etc/securetty file and add the rsh rexec rlogin three services. 4. edit/etc/xinetd. d/rexec, rlogin, and rsh services. change "disable = YES" to "disable = NO". remove or comment out 5. restart service xinetd restart 6. after the service is successfully restarted, test the ssh hostname. 7. configure the trust relationship. first, run the following command mkdir ~ on two nodes ~ /. Ssh www.2cto.com chmod 700 ~ /. Sshssh-keygen-t rsassh-keygen-t dsa and then execute the following command cat ~ /. Ssh/id_rsa.pub> ~ /. Ssh/authorized_keyscat ~ /. Ssh/id_dsa.pub> ~ /. Ssh/authorized_keysssh dbtest2 cat ~ /. Ssh/id_rsa.pub> ~ /. Ssh/authorized_keysssh dbtest2 cat ~ /. Ssh/id_dsa.pub> ~ /. Ssh/authorized_keypd ~ /. Ssh/authorized_keys dbtest2 :~ /. Ssh/authorized_keys by marvelyu
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service