Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to enable passwordless ssh between the instances?


The instances which dynamically go up and down need pair-to-pair passwordless ssh connections. Whenever I add an instance I have to add the other instances' key into the new one, and the new one's into the others', which is extremely bothersome.

  1. How can I enable passwordless ssh logins between the instances?

  2. Can I just allow all users passwordless login through ssh? I am the only one who use the openstack, and there is no reason to keep it secret. Appending "sshd : ALL : allow" into /etc/hosts.allow didn't work.

thanks for your help