I was having what seem like similar issues, and took the time to write the two tasks described on this page: http://www.capistranorb.com/documentation/getting-started/cold-start/
These helped me diagnose two distinct problems: 1) my ssh agent identity had been lost (re-run ssh-add to fix); 2) the remote server was not about to connect to my git provider (GitHub). Tom On Wednesday, November 20, 2013 5:47:58 PM UTC-5, Fabrice Cheng wrote: > > I wanted to try the newer version of Capistrano 3 on a new project and > have been struggling with this problem for a few days now. > > while running "*cap production deploy*" for the first time, I always got > the same error (LOG > :http://pastebin.com/DKvzRTc2<http://www.google.com/url?q=http%3A%2F%2Fpastebin.com%2FDKvzRTc2&sa=D&sntz=1&usg=AFQjCNEX_0KxQqTTHcrkGEL1zBFFKEqLTQ> > ). > > Apparently, it fails to run this command "git ls-remote > [email protected]:......" on the server > > I've tried everything : - forward_agent set as true with ssh key on local > machine and uploaded on bitbucket - forward_agent set as false and uploaded > manually the ssh key on the production server (when I run manually 'git > [email protected]:......' on the server, it works perfectly. > > I've already set the "user" attribute on the deploy.rb file, this doesn't > fix the issue. > > Thanks for the help, I'm open to any suggestion! > -- -- * 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.
