The Wayback Machine - https://web.archive.org/web/20200912130506/https://github.com/guyzmo/git-repo/issues/184
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

Suggest adding SSH key when none is present #184

Open
nikitavbv opened this issue Dec 12, 2017 · 1 comment
Open

Suggest adding SSH key when none is present #184

nikitavbv opened this issue Dec 12, 2017 · 1 comment

Comments

@nikitavbv
Copy link
Contributor

@nikitavbv nikitavbv commented Dec 12, 2017

Currently if you try to clone a repository from github and you don't have any ssh keys configured at github, you will fail to clone and get such message:

Fatal error: fatal: Could not read from remote repository.

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

Even Permission denied (publickey). message is not shown.

@guyzmo offered to "suggest adding an SSH key when none is present"

@guyzmo
Copy link
Owner

@guyzmo guyzmo commented Dec 12, 2017

well, we need to correctly catch the exception thrown by gitpython when it cannot pull from the remote, and eventually show the error (or a more litterate version of the error)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.