You can log in to your Heroku account by setting up a secure SSH session first.
If you don't use SSH already, you'll need to create a public-private key pair to push code to Heroku. This key pair is used to keep the channel of communication between the developer and Heroku secure.
Generating a public key is as simple as entering the following command:
$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/Users/ahanjura/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/ahanjura/.ssh/id_rsa. Your public key has been saved in /Users/ahanjura/.ssh/id_rsa.pub. The key fingerprint is: a1:84:0a:08:72:90:c6:d9:d5:42:d6:e3:04:d5:6c:3e [email protected]
In this command, we are using the RSA encryption method to secure our credentials. With the RSA method, you can sign/verify and encrypt/decrypt your credentials for authentication...