But the deployment server and the git repository are the same server in my case. What should I do?
On Jun 17, 1:47 am, Andrew Porter <[email protected]> wrote: > Mike C wrote: > > Er well it worked but it still asks for a password. You see, for doing > > git push it used to ask for a password but it doesn't anymore, and > > using cap deploy:update_code used to ask for the password 3 times but > > now it only asks for it once. > > There are two separate things going on. cap remotely ssh's on to the > remote server - ssh keys can prevent requiring entering a password here > - and then on the remote machine cap accesses your git repository. > > If you have told cap to access it as ssh:// etc.. then a password is > required for this also - so you need ssh shared keys between the > deployment server and the git repository. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

