Eric Wilson's Blog

Experiments in engineering, life and the pursuit of a better hammer.

Eric Wilson's blog discussing Product Development and Software Engineering.

  • Blog
  • Snippets
  • About
  • Contact
  • Search

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
April 06, 2021 /Eric Wilson
pbcopy, ssh, clipboard
IT
  • Newer
  • Older
This work is licensed under a Creative Commons License and is the private blog of Eric Wilson.
The opinions are my own and are not endorsed by my current or former employers or colleagues.
Creative Commons License