Skip to content

Instantly share code, notes, and snippets.

@jeffsaracco
Last active August 29, 2015 13:56
Show Gist options
  • Save jeffsaracco/9054143 to your computer and use it in GitHub Desktop.
Save jeffsaracco/9054143 to your computer and use it in GitHub Desktop.
Multiple Heroku keys

In your .git/config

  [remote "heroku"]
     url = [email protected]:<appname>.git

In your .ssh/config

  Host heroku.work
    HostName heroku.com
    IdentityFile ~/.ssh/id_heroku_work_rsa
    IdentitiesOnly yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment