It depends if you share them, most people will put them in their environment.rb files, I prefer to have a general hostname ` staging.theproject.com` and put all of the details about what hostname means into my hosts file (or simply rely on the public DNS), and put my connection info into my ~/.ssh file
On 20 December 2012 04:19, Huiming Teo <[email protected]> wrote: > Hi all, wish to hear your thoughts on this: > > > Where do you prefer to store server info (e.g. hostname, ssh login user, > ssh key path) used by Capistrano? Do you store them in ~/.ssh/config, > deploy.rb (or Capistrano multistage .rb files) or else where? > > > Currently I keep them in ~/.ssh/config, but thinking of moving them into > deploy.rb. > > -- > * You received this message because you are subscribed to the Google > Groups "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected] For more options, visit this > group at http://groups.google.com/group/capistrano?hl=en -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
