I've tried sshing into the instance and i successfully cloned the
repo...

If the problem is Capistrano... what's wrong in the code above... it
seems perfect to me...

thx again

LP

On May 30, 10:29 pm, Frederick Cheung <[email protected]>
wrote:
> On May 31, 3:13 am, lpdahito <[email protected]> wrote:> I've generated a 
> keypair from my instance and copied the public one to
> > github...
> > Like you've said, I've put it in the account... didnt work...
> > I've tried as a deploy key also... without success either...
>
> And you've copied the keys to your ec2 instances (probably also
> sensible to setup your ssh config there to tell it to use that key
> when talking to github) ?
> Have you tried sshing into one of your instances and doing a git clone
> from the command line (ie see if it's just capistrano screwing
> around) ?
>
> Fred
>
> > That's mainly the reason why i'm on this forum right now...
>
> > thx for your help....
> > Still need help though
>
> > LP
>
> > On May 30, 9:38 pm, Frederick Cheung <[email protected]>
> > wrote:
>
> > > On May 31, 2:10 am, lpdahito <[email protected]> wrote:
>
> > > >   * executing "if [ -d /mnt/app/shared/cached-copy ]; then cd /mnt/app/
> > > > shared/cached-copy && git fetch -q origin && git reset -q --hard
> > > > d5b088e509dcc4b476836b5bab0203ce5d4618f9; else git clone -q
> > > > [email protected]:lpdahito/snaproof.git /mnt/app/shared/cached-copy &&
> > > > cd /mnt/app/shared/cached-copy && git checkout -q -b deploy
> > > > d5b088e509dcc4b476836b5bab0203ce5d4618f9; fi"
> > > >     servers: ["ec2-75-101-235-89.compute-1.amazonaws.com"]
> > > >     [ec2-75-101-235-89.compute-1.amazonaws.com] executing command
> > > >  ** [ec2-75-101-235-89.compute-1.amazonaws.com :: out] Permission
> > > > denied (publickey).
>
> > > This is saying that your ec2 instance didn't have the right
> > > credentials to talk to your github account - either it is using a
> > > public key that you haven't added to the account (either straight to
> > > the account or as a deploy key for the repository in question) or it
> > > doesn't have a key at all.
>
> > > Fred
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to