Hostnames are assigned to roles in tasks. 

Ssh preferences like enabling agent forwarding are set in deploy.rb

set :user, 'blah'

Is in the deploy.rb

All else is left up to the user. 

On Dec 19, 2012, at 7:19 PM, 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

Reply via email to