I couldn’t figure out how to do it online, so I did it from inside a VM with commands like this:
$ heroku apps:destroy evening-stream-6581
$ heroku apps:destroy --confirm fierce-lightning-5483
baseubu1210dev:~/dev/vdb2 $ heroku create --stack cedar
Creating shielded-sierra-2960... done, stack is cedar
http://shielded-sierra-2960.herokuapp.com/ | git@heroku.com:shielded-sierra-2960.git
Git remote heroku added
baseubu1210dev:~/dev/vdb2 $ heroku apps:rename vdb2
Renaming shielded-sierra-2960 to vdb2... done
http://vdb2.herokuapp.com/ | git@heroku.com:vdb2.git
Git remote heroku updated
baseubu1210dev:~/dev/vdb2 $ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/vm/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/vm/.ssh/id_rsa.
Your public key has been saved in /home/vm/.ssh/id_rsa.pub.
The key fingerprint is:
b7:13:f2:1e:8c:f1:d9:f1:d9:97:ee:6f:78:37:32:f0 vm@baseubu1210dev
The key's randomart image is:
+--[ RSA 2048]----+
| |
| |
| |
| |
| S o . |
| O * o o.|
| . O + ooo|
| . o Eo.=|
| . +==|
+-----------------+
Note: PWD is heroku
Tell heroku about the ssh keys
baseubu1210dev:~/dev/vdb2 $ heroku keys:add
Found existing public key: /home/vm/.ssh/id_rsa.pub
Uploading SSH public key /home/vm/.ssh/id_rsa.pub... done
Now I can run the command:
$ git push heroku master