Can't push my code to Heroku: Permission denied <public key> fatal: Could not read from remote repository

Daft

I'm trying to push my code to Heroku with this line:

git push heroku master

But I keep getting the following error/message:

Warning: Permanently added 'heroku.com,50.85.49.333' <RSA> to the list of known hosts. 
Permission denied <public key>
fatal: Could not read from remote repository

Please make sure you have the correct access rights and the repository exists.

I have uploaded my key:

heroku keys:add ~/.ssh/id_rsa.pub

And set my remote to the git url:

git remote set-url heroku [email protected]:project-name.git

And still no luck. Could anyone point out the problem?

I am following THIS short tut.

Daft

I really should have searched harder before posting this question as I found the answer in another question with an almost identical name.

Heroku 'Permission denied (publickey) fatal: Could not read from remote repository' woes

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

can't pull changes from github - Permission denied (publickey). fatal: Could not read from remote repository

From Java

Heroku 'Permission denied (publickey) fatal: Could not read from remote repository' woes

From Dev

GitHub: Permission denied (publickey). fatal: Could not read from remote repository

From Dev

Permission denied (publickey). fatal: Could not read from remote repository

From Dev

Git: Permission denied (publickey). fatal: Could not read from remote repository

From Dev

Clone the repository from Codebase Permission denied (publickey). fatal: Could not read from remote repository

From Dev

Clone the repository from Codebase Permission denied (publickey). fatal: Could not read from remote repository

From Java

Git: Permission denied (publickey) fatal - Could not read from remote repository. while cloning Git repository

From Java

Can't git push to Bitbucket: Unauthorized - fatal: Could not read from remote repository

From Dev

Git Clone : Permission denied (publickey). fatal: Could not read from remote repository

From Dev

Error $ git pull --rebase Permission denied (publickey). fatal: Could not read from remote repository

From Dev

gitlab: Windows: How to use chmod and fix "Get Permission denied (publickey). fatal: Could not read from remote repository"

From Dev

Git Clone : Permission denied (publickey). fatal: Could not read from remote repository

From Dev

fatal: Could not read from remote repository. When I push my local repo to remote server

From Dev

git push heroku: Could not read from remote repository

From Java

Git push: "fatal 'origin' does not appear to be a git repository - fatal Could not read from remote repository."

From Java

git: fatal: Could not read from remote repository

From Dev

git Connection abandoned, fatal: Could not read from remote repository

From Dev

A strange "fatal: Could not read from remote repository." with crontab

From Dev

A strange "fatal: Could not read from remote repository." with crontab

From Dev

CentOS: Git: "fatal: could not read from the remote repository"

From Dev

Can't connect to github via ssh; Permission denied (public key)

From Java

Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly

From Dev

conq: repository does not exist. fatal: Could not read from remote repository

From Dev

Permission denied when I try to push from local to remote gitlab repository

From Dev

Can't scp file from local to remote host - Permission denied

From Dev

`hg push` : abort: could not lock repository ... Permission denied

From Dev

Why can't push my wordpress directory into remote github repository?

From Dev

git clone: "remote: The namespace you were looking for could not be found." ... "fatal: Could not read from remote repository."

Related Related

  1. 1

    can't pull changes from github - Permission denied (publickey). fatal: Could not read from remote repository

  2. 2

    Heroku 'Permission denied (publickey) fatal: Could not read from remote repository' woes

  3. 3

    GitHub: Permission denied (publickey). fatal: Could not read from remote repository

  4. 4

    Permission denied (publickey). fatal: Could not read from remote repository

  5. 5

    Git: Permission denied (publickey). fatal: Could not read from remote repository

  6. 6

    Clone the repository from Codebase Permission denied (publickey). fatal: Could not read from remote repository

  7. 7

    Clone the repository from Codebase Permission denied (publickey). fatal: Could not read from remote repository

  8. 8

    Git: Permission denied (publickey) fatal - Could not read from remote repository. while cloning Git repository

  9. 9

    Can't git push to Bitbucket: Unauthorized - fatal: Could not read from remote repository

  10. 10

    Git Clone : Permission denied (publickey). fatal: Could not read from remote repository

  11. 11

    Error $ git pull --rebase Permission denied (publickey). fatal: Could not read from remote repository

  12. 12

    gitlab: Windows: How to use chmod and fix "Get Permission denied (publickey). fatal: Could not read from remote repository"

  13. 13

    Git Clone : Permission denied (publickey). fatal: Could not read from remote repository

  14. 14

    fatal: Could not read from remote repository. When I push my local repo to remote server

  15. 15

    git push heroku: Could not read from remote repository

  16. 16

    Git push: "fatal 'origin' does not appear to be a git repository - fatal Could not read from remote repository."

  17. 17

    git: fatal: Could not read from remote repository

  18. 18

    git Connection abandoned, fatal: Could not read from remote repository

  19. 19

    A strange "fatal: Could not read from remote repository." with crontab

  20. 20

    A strange "fatal: Could not read from remote repository." with crontab

  21. 21

    CentOS: Git: "fatal: could not read from the remote repository"

  22. 22

    Can't connect to github via ssh; Permission denied (public key)

  23. 23

    Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly

  24. 24

    conq: repository does not exist. fatal: Could not read from remote repository

  25. 25

    Permission denied when I try to push from local to remote gitlab repository

  26. 26

    Can't scp file from local to remote host - Permission denied

  27. 27

    `hg push` : abort: could not lock repository ... Permission denied

  28. 28

    Why can't push my wordpress directory into remote github repository?

  29. 29

    git clone: "remote: The namespace you were looking for could not be found." ... "fatal: Could not read from remote repository."

HotTag

Archive