Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SSH Key setup for Github & Heroku
// GitHub.com
1. Normally SSH Keys saves in user home directory
ls -al ~/.ssh
2. ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
3. ls -al ~/.ssh
4. eval "$(ssh-agent -s)"
5. Example : Agent pid 7859
6. ssh-add ~/.ssh/id_rsa
7. Add ssh to github.com account by using help page.
8. ssh -T git@github.com
// Heroku
1. heroku --version
2. heroku help
3. heroku login
4. heroku keys:add
5. ssh -v git@heroku.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.