git command uses the ~/.ssh/id_dsa.pub by default.   That could be the
problem if you selected another as your heroku key.

~K


On Sep 15, 9:15 am, John McCaffrey <[email protected]> wrote:
> This just means that your ssh info is not set up correctly.
>
> try:
> heroku keys --help
> and
> heroku keys
>
> to see if your ssh keys are setup properly. You may just have to go back
> through the instructions on getting you ssh keys created and available to
> heroku. (if the heroku docs don't help, try stackoverflow.com)
>
> On Thu, Sep 15, 2011 at 6:57 AM, Krishna 
> <[email protected]>wrote:
>
>
>
>
>
>
>
>
>
> > Hi All,
>
> >  I am new to Heroku platform, Now I am working with Java -Spring
> > application, Today I am testing with sample given in heroku java
> > workbook but i am facing Permission Denied (publickey) Error. Could
> > you please anyone give quick response 4 this error.
>
> > Command I used:
>
> > git push heroku master
> >  Permission denied (publickey).
> > fatal: The remote end hung up unexpectedly
>
> > info:
> > destination address: heroku.com
> > Port 22 is opened for Firewall.
>
> > Thanks & Regards,
> > Krishna.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Heroku" 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/heroku?hl=en.
>
> --
> Thanks,
> -John

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.

Reply via email to