How do I access my SSH public key?

前端 未结 19 940
星月不相逢
星月不相逢 2021-01-29 17:04

I\'ve just generated my RSA key pair, and I wanted to add that key to GitHub.

I tried cd id_rsa.pub and id_rsa.pub, but no luck. How can I acce

相关标签:
19条回答
  • 2021-01-29 17:51

    If you're on Windows use the following, select all, and copy from a Notepad window:

    notepad ~/.ssh/id_rsa.pub  
    

    If you're on OS X, use:

    pbcopy < ~/.ssh/id_rsa.pub
    
    0 讨论(0)
提交回复
热议问题