Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Can't set up repos for development. Permission denied #148

Closed
1 task done
roschler opened this issue Jun 7, 2018 · 1 comment
Closed
1 task done

Can't set up repos for development. Permission denied #148

roschler opened this issue Jun 7, 2018 · 1 comment

Comments

@roschler
Copy link

roschler commented Jun 7, 2018


The Contributing.md document tells you to use the git@github protocol for fetching repos. Every time I use that protocol I get a permission denied error:

reselect-tree:
Cloning into 'dependencies/reselect-tree'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I tried to go around it by using the "https://" URL for the main repo. I was able to clone that repo but ran into the exact same problem again when I executed the meta utility to get the dependent repos, because that utility also uses the git@github protocol. I'm running Ubuntu Bionic Beaver 18.04 LTS, fully patched.

@roschler
Copy link
Author

roschler commented Jun 8, 2018

Found the problem. I had to set up an RSA key for my GitHub account. Now I can use the git@github.com links. These two documents showed me how:

https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/#adding-your-ssh-key-to-the-ssh-agent
https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/

@roschler roschler closed this as completed Jun 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant