Skip to content

Instantly share code, notes, and snippets.

@hcosta
Created August 4, 2014 14:33
Show Gist options
  • Save hcosta/6872a3ef927274ac5351 to your computer and use it in GitHub Desktop.
Save hcosta/6872a3ef927274ac5351 to your computer and use it in GitHub Desktop.
Heroku Config
->heroku login
[email protected] & password
->cd C:\Users\yourusername\.ssh (OR for cygwin shell ->cd ~/.ssh)
->ssh-keygen -t rsa -f id_rsa
if asks any passphrase don't use blank, fill with a passphrase,but not forget it.
After generating the key you need to add it, like so
$ ssh-add
and it to heroku
->heroku keys:add "id_rsa.pub"
change directory to workspace, than
->git clone [email protected]:stark-dawn-1234.git -o heroku
use passphrase that you set above.
Actually i also remove files below, but not sure that they are imp,
C:\Users\yourusername.heroku\credientals and C:\Users\yourusername.ssh\known_hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment