Skip to content

Instantly share code, notes, and snippets.

@foysalit
Created March 31, 2016 15:27
Show Gist options
  • Save foysalit/3556dbbcb5902a9006ae317862cd64af to your computer and use it in GitHub Desktop.
Save foysalit/3556dbbcb5902a9006ae317862cd64af to your computer and use it in GitHub Desktop.
create new heroku app
heroku accounts:add account_name --auto
ssh-keygen -t rsa -C "emailaddresshere"
# add the ssh config file with heroku config to ~/.ssh/config file
Host heroku.com
HostName heroku.com
IdentityFile home/username/.ssh/identity.heroku.account_name
IdentitiesOnly yes
#set new account as current
heroku accounts:set account_name
#to add the keys
heroku keys:add ~/.ssh/identity.heroku.account_name.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment