Quickly generate a public/private SSH key (ie. to use with git)

In a linux command shell :

ssh-keygen -t rsa -b 4096 -C "email.address@domain.com"

This generates a public key ( ~/.ssh/idrsa ) and a private key ( ~/.ssh/idrsa.pub ) in your home directory.