search

Home  >  Q&A  >  body text

git - sshkey setting failed under ubuntu

Under ubuntu
ssh-keygen -t rsa -C "email@email.com"
Then press enter three times to generate the ssh key
It keeps saying no permission when putting it on coding...
ssh git@git.coding.net says it is successful . .

巴扎黑巴扎黑2814 days ago540

reply all(2)I'll reply

  • PHPz

    PHPz2017-05-02 09:31:46

    Have you tried it as root user?

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-02 09:31:46

    Just sudo won’t work, sshkey must be generated under the root user

    reply
    0
  • Cancelreply