Passwordless SSH problem?
Let me state my problem:
I have a 5-node PC cluster, all running Gentoo Linux 2005.0.
On the master node, the /home and /opt directories are
exported as NFS, which are mounted on the /home and /opt
directories of the four slave nodes, respectively.
I created several normal users with their home directories
located in /home on the master node, so that it can be
seen on all other nodes. Then, I did the following for each user
to setup passwordless ssh:
1. ssh-keygen -t rsa (withour setting the passphrase)
2. cd ~/.ssh
3. cp .id_rsa.pub authorized_keys2
To this point, everything is ok. I can get passwordless ssh
for all these users.
Then I created a special user, whose home directory is in /opt.
After I did the same thing as above, the passwordless ssh
doesn't work. I see "Connection closed by 192.168.1.101"
when I tried to ssh this machine. I checked the log file on
192.168.1.101. There is no record for this connection.
After I remove the authorized_keys2 file in .ssh, I can log in
this machine by providing a password.
Hope I state my problem clearly. Any comments are greatly appreciated.