Copy SSH Public Key to Clipboard

Use the following command in terminal to copy your SSH public key to your clipboard on Mac or Linux. Be sure to swap out the path and file name with your own if necessary.

cat ~/.ssh/ | pbcopy

Leave a Reply

Your email address will not be published. Required fields are marked *

Are you in need of a freelance web developer?

Hire me