Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to clone the repo due to access right #48

Open
ichxorya opened this issue Dec 21, 2024 · 4 comments
Open

Failed to clone the repo due to access right #48

ichxorya opened this issue Dec 21, 2024 · 4 comments

Comments

@ichxorya
Copy link

I'm running this app on Windows 10. First, I ran into this issue.

Your machine is not setup for a secure connection to Github. Please follow the instructions here: https://docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey

image

By following this guide, my problem was solved. https://stackoverflow.com/questions/2643502/git-how-to-solve-permission-denied-publickey-error-when-using-git

But for now I'm stuck with this.

Failed to clone Github repo

Caused by:
    `git clone [email protected]:ichxorya/rqst-async.git` failed, stderr:
    Cloning into 'rqst-async'...
    [email protected]: Permission denied (publickey).
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.

image

@ichxorya
Copy link
Author

Update: I should have read the README (authentication using Github CLI).

This is what happen next:
image

@njordr
Copy link

njordr commented Dec 24, 2024

Same issues for me too

@madanmohany
Copy link

madanmohany commented Dec 24, 2024

I did get the above mentioned errors on Windows 11. I could overcome them and able to start a quest using the below steps.

  1. To add SSH access to your github account from your computer, follow the below links
    https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
    https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account

Note that the ssh key file name is "id_ed25519" (ed25519 is the algorithm used to generate the ssh keys)
And also do not enter any passphrase while generating the ssh keys

  1. If you have already have a local github repository from the template code at rqst-async, delete your local github repository and try again. (Reason : RepoQuest would attempt to create it again and raise an error if it is there.)

@njordr
Copy link

njordr commented Dec 31, 2024

@madanmohany that worked for me, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants