简体   繁体   中英

git push heroku master password not working in rails?

I set up a rails project and initiated git..

then created heroku and added git remote..

But while using git push heroku master, a dialog box opens and asks to for a password to unlock the private key..

when i entered the heroku password, its not authenticating??

which password should i use to unlock the private key??

The private key in question is the default SSH private key for your user account on your computer. This password might be the password to your local computer user account.

Follow this tutorial from GitHub to generate your SSH key: http://help.github.com/mac-set-up-git/

Your SSH key is hidden, it won't be printed out for you to manually copy and paste. If you're a Mac user, run this command to copy your private SSH key to your clipboard:

$ pbcopy < ~/.ssh/id_rsa.pub

You'll be able just paste your SSH key to where ever you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM