Quote:
|
I tried reconfiguring, the same problem. I cannot copy the authorised_keys from one node only the other works fine.
|
Did you by any chance copy the
authorized_keys file from one machine to the other? If so, it ain't gonna work that way; you need to run
ssh-keygen on each machine independently and copy only the
id_dsa.pub file to the other machine's
~/.ssh/authorized_keys file -- so you don't get confused, try running
ssh-keygen then rename
id_dsa.pub to the node name of the machine you're on then copy that to the other machine's
~/.ssh directory (then add that file to
authorized_keys; this is in case you have additional machines to add by name). Remember that the keys work in pairs; the
id_dsa is the private key, the
id_dsa.pub is the public key for each machine, not for both.