dbray, The result: https://gist.github.com/candidosales/4698593
deploy.rb: https://gist.github.com/candidosales/4724969 My machine can connect, but not via capistrano. When I disable ssh_options [: config] to false it connects however I get no permissions to perform the capistrano/git needs. Em quarta-feira, 6 de fevereiro de 2013 00h47min40s UTC-3, dbray escreveu: > > What are the results of you doing the following where you are running > 'cap': > > ssh -v -A [email protected] > > On Tue, Feb 5, 2013 at 6:30 PM, Cândido Sales Gomes > <[email protected]<javascript:> > > wrote: > >> dbray, >> >> Thanks for the suggestion. I also tried on my local machine and the error >> persists, the change in deploy.rb did as asked. >> >> deploy.rb: https://gist.github.com/candidosales/4710703 >> >> error: https://gist.github.com/candidosales/4698593 >> >> You have yet another suggestion that I may have been wrong? >> >> Em terça-feira, 5 de fevereiro de 2013 20h37min55s UTC-3, dbray escreveu: >>> >>> On your workstation before deploying do this: >>> >>> eval `ssh-agent` >>> ssh-add >>> ssh-add <path to ec2 identity> >>> >>> Then retry the cap command >>> >>> I would not guarantee the the "~" symbol is expanded in your keys >>> variable. That method has never worked for me. It's not necessary if you >>> are using agent forwarding and could be fouling things up. >>> >>> >>> >>> On Feb 5, 2013, at 10:31 AM, Cândido Sales Gomes <[email protected]> >>> wrote: >>> >>> I replaced all single quotes with double quotes, and still the error = / >>> ... Anyone else? >>> >>> Deploy.rb: >>> https://gist.**github.com/candidosales/**4710703<https://gist.github.com/candidosales/4710703> >>> >>> Erro: >>> https://gist.github.com/**candidosales/4698593<https://gist.github.com/candidosales/4698593> >>> >>> Em terça-feira, 5 de fevereiro de 2013 13h03min33s UTC-3, dbray escreveu: >>>> >>>> Why it's blowing up isn't because of ssh >>>> >>>> set :deploy_to, '/var/www/#{application}' >>>> set :current, '#{deploy_to}/current' >>>> >>>> Your quoting of strings is incorrect. >>>> >>>> Using single quotes creates a non-interpolated string. >>>> It's setting the variable to that literal string. >>>> >>>> Use double-quotes instead. >>>> >>>> >>>> >>>> On Feb 4, 2013, at 5:52 PM, Cândido Sales Gomes <[email protected]> >>>> wrote: >>>> >>>> Gentlemen, >>>> >>>> When I try to make a connection with capistrano on my EC2 presents this >>>> error: >>>> https://gist.github.com/**candidosales/4698593<https://gist.github.com/candidosales/4698593> >>>> >>>> My deploy.rb: >>>> https://gist.github.com/**candidosales/4710703<https://gist.github.com/candidosales/4710703> >>>> >>>> When I created the SSH to connect to Github and my local machine to the >>>> EC2 not used password or passphrase. >>>> >>>> I can connect my machine to the server with: ssh [email protected] >>>> >>>> Have copied my id_rsa.pub to EC2: cat ~ / .ssh / id_rsa.pub | ssh-i ~ / >>>> .ec2/midiaexterna-ec2.pem [email protected] "cat >> .ssh / >>>> authorized_keys" >>>> >>>> Please, somebody help me 2 weeks try to make a simple connection with >>>> capistrano. >>>> >>>> Thank you! >>>> >>>> -- >>>> -- >>>> * 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 >>>> capistrano+...@googlegroups.**com For more options, visit this group >>>> at >>>> http://groups.google.com/**group/capistrano?hl=en<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 capistrano+...@googlegroups.**com. >>>> For more options, visit >>>> https://groups.google.com/**groups/opt_out<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 capistrano+...@** >>> googlegroups.com For more options, visit this group at >>> http://groups.google.com/**group/capistrano?hl=en<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 capistrano+...@**googlegroups.com. >>> For more options, visit >>> https://groups.google.com/**groups/opt_out<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]<javascript:> >> * To unsubscribe from this group, send email to >> [email protected] <javascript:> 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] <javascript:>. >> 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.
