On Dec 1, 2006, at 9:13 AM, itchyboy wrote:

>
> Whenever I connect with SSH, I have to type my password, but I've only
> ever connected as root. Do I need a different user for Capistrano?

You just need to make sure capistrano connects as a user that has an  
account on the remote host. If that user isn't the person you are  
running capistrano as, then you should add something like the  
following to your deploy.rb:

   # force capistrano to log into the remote host(s) as "root"
   set :user, "root"

(Note that remote logins as root is pretty bad practice, though...you  
might want to consider setting up a user with fewer privileges for  
remote access.)

- Jamis


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to