cd ~/.ssh
ssh-keygen -t rsa -C "[email protected]"
pbcopy < ~/.ssh/id_rsa.pub
# then add to your relative account
- Detailed article here
- Note that keys can be any name, not just "id_rsa". You just have to configure it in your ssh/config like below.
ssh-keygen -t rsa -f ~/.ssh/accountB -C "[email protected]"
subl ~/.ssh/config
# contents of config file
Host bitbucket.org
User git
Hostname bitbucket.org
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Host bitbucket-accountB
User git
Hostname bitbucket.org
PreferredAuthentications publickey
IdentitiesOnly yes
IdentityFile ~/.ssh/accountB
subl ~/.ssh/config
# config file
Host ym 96.126.126.41
HostName 96.126.126.41
ForwardAgent yes
User joel
Host ipyxel 52.0.236.46
HostName 52.0.236.46
IdentityFile ~/.ssh/ipyxel.pem
User wpdev
heroku run YOUR COMMAND
# heroku run rake db:migrate
# these can be custom commands
# for configuring environment variables
heroku config:add
heroku logs
# 100 lines by default
heroku logs -n 200
# 1500 maximum
These are all FREE options from Heroku. You can find more here.
- Logging - Papertrail
- Transactional Email - Sendgrid
- Errors - Rollbar
- Search - Searchify
- Cron Jobs - Heroku Scheduler