Skip to content

Instantly share code, notes, and snippets.

@fuyi
Created September 9, 2013 11:58
Show Gist options
  • Save fuyi/6494637 to your computer and use it in GitHub Desktop.
Save fuyi/6494637 to your computer and use it in GitHub Desktop.
add ssh to heroku
first of all create a new rsa key:
ssh-keygen -t rsa -C "giordano.scalzo[at]gmail.com" -f ~/.ssh/id_rsa_heroku
then added to my machine
ssh-add ~/.ssh/id_rsa_heroku
and, finally, to Heroku
heroku keys:add ~/.ssh/id_rsa_heroku.pub
git push heroku master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment