How to copy your public ssh key to the clipboard April 06, 2021 by Eric Wilson in IT Option 1:pbcopy < ~/.ssh/id_rsa.pub Option 2:cat ~/.ssh/id_rsa.pub | pbcopy