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: 0

Mac

pbcopy < ~/.ssh/id_rsa.pub

Windows

clip < ~/.ssh/id_rsa.pub


Like this post? Got a question?

Reply via: Email, Bluesky, Mastodon, Twitter