:repository is used for you, on your laptop to clone from :local_repository is what the server uses to make the clone from, you should (in this case) probably set that to a file:/// URI scheme pointing to the directory in question.
Pasting your log output would help a lot. Lee Hambley -- http://lee.hambley.name/ +49 (0) 170 298 5667 On 12 June 2013 13:17, giorgio <[email protected]> wrote: > I have been using a capistrano deploy script successfully to deploy from > my laptop to a staging/test server (a VM) by copy and to the production > server from git. > > I have created a working copy of the source in my home folder of the > production server by cloning the repository (which is also on the > production server) using the same git url as I use on the laptop. > > The intention is to be able to edit files in the dev area of the > production server and do a git push and cap deploy in the same way as from > the laptop. > > However the cap deploy fails with Net::SSH::AuthenticationFailed during > the deploy:update_code stage. > > I dont know if I need to change the repository or local_repository > variables? > > I can ssh to the server from itself and I can do git clones using the ssh > git url... > > -- > -- > * 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 unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- * 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
