I am using Capistrano to deploy our code to many machines (several to hundreds ).
I am going to use Capistrano to do this. From my knowledge, I need to generate a pair of public-private key for SSH login used by Capistrano; and I think I may need to install my public key to all of my target machines. Am I right?
Is there a better way to do this? It’s tedious.
Yes, is the only way to authenticate with the remote server, otherwise you must to use an user and password.
We actually are using Puppet to install the base system and the public key. Then you can deploy with capistrano.