Don P
Don P

Reputation: 63557

Heroku Create: Could not read from remote repository

Trying to deploy my first Rails app to Heroku.

All app code is here: https://github.com/donpinkus/first_app.

Running heroku create gives me this error:

donaldmbp15:first_app donald$ git push heroku master
Warning: Permanently added the RSA host key for IP address '50.19.85.132' to the list of known hosts.
Connection closed by 50.19.85.132
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
donaldmbp15:first_app donald$ 

It sounds like something along the line, either Heroku or Github does not have access rights. I've pushed to Github from my local git repo, so I'm ruling out Github as the source of error. That leaves Heroku, or my local machine. Any ideas?

Upvotes: 2

Views: 1169

Answers (1)

ariunbolor
ariunbolor

Reputation: 11

First Generate the RSA key first by following

bash: ssh-keygen -t rsa

Add your key to heroku

bash: heroku keys:add

Read more https://devcenter.heroku.com/articles/keys

Upvotes: 1

Related Questions