3

I'm not able to deploy in Heroku. I'm getting Permission Denied! everytime. I have my repository already exists.

$ git remote -v
heroku  [email protected]:catapp11.git (fetch)
heroku  [email protected]:catapp11.git (push)

But while I try to push in Heroku, I always get error.

$ git push -u heroku master
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
1
  • Did you add your ssh public key to your Heroku account? Commented Nov 20, 2013 at 9:06

1 Answer 1

5

You need to upload to Heroku your keys. Follow this article or try:

heroku keys:add
Sign up to request clarification or add additional context in comments.

1 Comment

Thank yu so much, it helped me. :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.