tonycoco / heroku-buildpack-ember-cli

A Heroku Buildpack for Ember CLI Applications
MIT License
320 stars 121 forks source link

SSH Key permissions too open #89

Closed byrnedo closed 9 years ago

byrnedo commented 9 years ago
-----> Exporting config vars to environment
-----> Detected SSH key for git. launching ssh-agent and loading key
       Agent pid 266
remote: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
remote: @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
remote: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
remote: Permissions 0644 for 'id_rsa' are too open.
remote: It is required that your private key files are NOT accessible by others.
remote: This private key will be ignored.

I set the config GIT_SSH_KEY like the readme suggests:

dokku config:set --global GIT_SSH_KEY=$(base64 --wrap=0 /home/dokku/.ssh/<stash_private_key>)

Am I doing something wrong?

I guess this would fix it: https://github.com/tonycoco/heroku-buildpack-ember-cli/pull/90