How to solve Permission denied (publickey) error when using Git?

后端 未结 30 2262
野性不改
野性不改 2020-11-22 08:07

I\'m on Mac Snow Leopard and I just installed git.

I just tried

git clone git@thechaw.com:cakebook.git

but that gives

30条回答
  •  醉梦人生
    2020-11-22 08:19

    I was getting a similar Permission denied (publickey) error when trying to run a makefile.

    As an alternative to the SSH steps above, you can Install the native GitHub for Mac application.

    Click Download GitHub for Mac from - https://help.github.com/articles/set-up-git#platform-mac

    Once you complete setup with your git hub account (I also installed the git hub command line tools but unsure if this step is required or not) then I received an email -

    [GitHub] A new public key was added to your account

    and my error was fixed.

提交回复
热议问题