Dual Work-Personal SSH Accounts
Nothing changes for your personal account (assuming it already exists)
For your work account:
Create an ssh key and save it to a named file
$ ssh-keygen -t rsa -C "bob-work@gmail.com" > Enter file in which to save the key (/home/bob/.ssh/id_rsa): /home/bob/work_rsa.pub
Upload the ssh key to your github work account
Create a new github.com configuration in ~/.ssh/config
Host work Hostname github.com User git IdentityFile ~/.ssh/work
Test the ssh key
$ ssh -T git@github.com Hi bob! You've successfully authenticated, but GitHub does not provide shell access. $ ssh -T git@work Hi bob-work! You've successfully authenticated, but GitHub does not provide shell access.
Clone
$ git clone git@github.com:bob/my_open_source_repo.git $ git clone git@work:mercury/thirteenth-floor.git