Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have three systems, two running CentOS5.2, 32-bit and the third running CentOS5.2, 64-bit. I am trying to set up passwordless SSH logins between the three systems. Using SSH-KEYGEN I created a public and private rsa key on each system. I copied the public keys to a master AUTHORIZED_KEYS file and then distributed that file to all three machines in /home/<user>/.ssh/authorized_keys. The two CentOS5.2 32-bit systems can ssh into each other without having to enter a password. I can also ssh into the 32-bit CentOS systems from the 64-bit CentOS system without having to enter a password. However, when I try to ssh into the 64-bit system from either 32-bit system, I am prompted for a password. All three systems are running ssh protocol 2 and the sshd_config files are identical. SELinux is enabled, but it is enabled on all three systems. IPtables is disabled on all three systems. Any thoughts on why I keep getting prompted for a password? Thanks.
ssh is very sensitive to permissions. I was on a thread recently where it didn't work properly because the permissions on the users home (/home/user) were 755 or similar.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.