Copy SSH key to clipboard

Every time I need to copy my SSH key I need to Google it because I've forgotten how to do so.

Number of times I've referenced this post: 1

Mac

pbcopy < ~/.ssh/id_rsa.pub

Windows

clip < ~/.ssh/id_rsa.pub


Like this post? Got a question?

Reply via Bluesky or Email.