I'd like to connect 4 hosts with paswordless SSH. I generate public RSA key with ssh-keygen command, then copy this keyfile to the other machines with ssh-copy-id -i ~/.ssh/id_rsa.pub @ command. When I try ssh to first two hosts, it's working, not ask password for login, but the third one still need key. When I try to login to the two working hosts with ssh -v command, the host accept the key,
debug1: Offering public key: /home//.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa * *
but the other offer the key, skip accept, and try to ask .ssh/identity and .ssh/id_rsa keys.
debug1: Offering public key: /home/hadoop/.ssh/id_rsa debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
How should I do this?