Heroku + Git public key -


$ heroku keys:add found existing public key: c:/users/andre/.ssh/github_rsa.pub uploading ssh public key c:/users/andre/.ssh/github_rsa.pub... done andre@andreh /c/unisinos/desenvolvimento de software/unidemico (master) $ git push heroku master permission denied (publickey). fatal: not read remote repository.  please make sure have correct access rights , repository exists. 

any idea why getting errors? have public key in github_rsa.pub file... @ https://dashboard.heroku.com/apps/xxxapp/settings set public key

help please

try running following list ssh keys in key chain:

ssh-add -l 

you should see this:

2048 3c:a8:e1:...:f7 /users/.../.ssh/github_rsa (rsa) 

if don't, means key not loaded. do:

ssh-add ~/.ssh/github_rsa 

then should work

git push heroku master 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -