I am trying to collaborate with a project hosted by a hero. I was invited through meldium.com and I successfully registered my email address for the project.
I received an email from heroku stating that I can clone the repo using the following command line:
$ git clone git@heroku.com:test-repo.git -o heroku
But every time I try to clone a repo, I get the following error message:
Warning: Permanently added the RSA host key for IP address 'XX.XX.XX.XXX' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
I donβt understand that I received an email stating that the key was added to my account, and when I type heroku key, I get the following:
ssh-rsa AAAAB3NzaC...lhJB2r8hnD my-github-id@github.com
What did I do wrong?
Many thanks
source
share