Unable to copy ~/.ssh/id_rsa.pub

前端 未结 8 2047
予麋鹿
予麋鹿 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:31

    Try this and it will work like a charm. I was having the same error but this approach did the trick for me:

    ssh USER@REMOTE "cat file"|xclip -i
    

提交回复
热议问题