linux copy ssh key to clipboard code example
Example 1: copy ssh keys
pbcopy < ~/.ssh/id_rsa.pub
Example 2: how to copy ssh id on linux clipboard
1. cd ~/.ssh
2. sudo vi id_rsa.pub
3. Click and hold down the left mouse button to highlight the entire SSH key but do not highlight any spaces after your email address at the end of the SSH key.
4. Paste into Github :)