How do I copy SSH key to the clipboard?

4 Simple steps:

  1. (in terminal)cd ~/.ssh
  2. (in terminal)sudo vi id_rsa.pub
  3. Click and hold down the left mouse button to highlight the entire SSH key but do not highlight any spaces after your email address at the end of the SSH key
  4. Paste it where you need to

Leave a Reply

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