Copy your SSH key to clipboard

Often you need your SSH key to copy and paste. You can easily do that in the terminal with the following command:

cat ~/.ssh/id_rsa.pub | pbcopy