Tuesday, 23 December 2014

codeship deploy heroku ssh error

I got this error in codeship, when it trying to push the project into heroku:


Warning: Permanently added 'heroku.com,50.19.85.132' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.

It usually have no problem.

My solution is :

in codeship, open current project's general project settings,

copy the content which covered by red lines:
open your heroku project and open mange account page:



past what you copied into the input box and it will automatically be recognized as a ssh key.




No comments:

Post a comment