Copy SSH Public Key to Clipboard

Copy the SSH public key to the system clipboard for easy pasting.

Code

pbcopy < ~/.ssh/id_rsa.pub