- Create a new SSH key pair:
ssh-keygen -t rsa -C "your user email"
- Call the key pair something unique: mynewheroku_rsa
- In the app folder, add Procfile
- Add the regular heroku remote:
git remote add heroku [email protected]:<appname>.git
- Edit the file
~/.ssh/config
Host mynewheroku
HostName heroku.com
IdentityFile ~/.ssh/mynewheroku_rsa
IdentitiesOnly yes