“Key is invalid” message on GitHub

后端 未结 18 2220
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-30 01:49

I have generated SSH keys for a new server installation according to the procedure outlined here. However, when I copy the contents of id_rsa.pub to my keys list on

18条回答
  •  独厮守ぢ
    2021-01-30 02:53

    Recommended by GitHub

    Copying the SSH-KEY :

    I worked with xclip to copy the id_rsa.pub key, like so:

    1. Install xclip

    sudo apt-get install xclip

    2. Copy with xclip

    xclip -sel clip < ~/.ssh/id_rsa.pub


    Good Luck.

提交回复
热议问题