Skip to content

Cloning returning permission issues #38

Answered by SteversIO
mixart asked this question in Q&A
Discussion options

You must be logged in to vote

@mixart you need to set up your SSH key configuration properly in github and locally on your machine.

https://docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey

If you already have an ssh key setup then chances are it wasn't added to your ssh-agent and when you try to perform a clone with the git@github.com user it fails.

Output from this command will show you which keys were attempted.

ssh -vT git@github.com

You'll need to add your specific key using:

ssh-add /path/to/key

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ryanio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants