Unable to copy ~/.ssh/id_rsa.pub

前端 未结 8 2049
予麋鹿
予麋鹿 2021-01-29 21:37

I’m following in Generating SSH Keys, it says

sudo apt-get install xclip

Downloads and installs xclip. If you don\'t have <

8条回答
  •  失恋的感觉
    2021-01-29 22:25

    DISPLAY=:0 xclip -sel clip < ~/.ssh/id_rsa.pub didn't work for me (ubuntu 14.04), but you can use :

    cat ~/.ssh/id_rsa.pub
    

    to get your public key

提交回复
热议问题