I am trying to collaborate on a project hosted on heroku. I have been invited via meldium.com and I have successfully registered my email adress to the project.
I received an email from heroku saying that I could clone the repo with the following command line:
$ git clone git@heroku.com:test-repo.git -o heroku
But everytime I try to clone the 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.
What I don't understand is that I received an email saying that a key had been added to my account and when I type heroku key
I get this:
ssh-rsa AAAAB3NzaC...lhJB2r8hnD my-github-id@github.com
What have I done wrong?
Many thanks