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

Clone Command Fails #1

Open
voipengineer opened this issue Sep 21, 2015 · 2 comments
Open

Clone Command Fails #1

voipengineer opened this issue Sep 21, 2015 · 2 comments

Comments

@voipengineer
Copy link

Hi,
When using "git clone git@github.com:coolaj86/golang-https-example.git" as instructed, an error is returned:

Permission denied (publickey).
fatal: Could not read from remote repository.

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

Any hints? Thanks!

@coolaj86
Copy link
Owner

You need to add your ssh key to your github account.

cat ~/.ssh/id_rsa.pub

If you don't have an ssh key yet, do this first:

ssh-keygen

It will ask a number of questions, but you should just keep hitting enter to accept the defaults (except perhaps the passphrase, if you can set it to something you'll remember).

If you're on Windows you can try git clone https://github.com/coolaj86/golang-https-example.git instead because, unlike a normal operating system, it doesn't have any security or developer tools installed and I don't know how to fix that other than to say "buy a mac or install linux".

@voipengineer
Copy link
Author

Thank you!

On Monday, September 21, 2015, AJ ONeal notifications@github.com wrote:

You need to add your ssh key to your github account.

cat ~/.ssh/id_rsa.pub

If you don't have an ssh key yet, do this first:

ssh-keygen

It will ask a number of questions, but you should just keep hitting enter
to accept the defaults (except perhaps the passphrase, if you can set it to
something you'll remember).


Reply to this email directly or view it on GitHub
#1 (comment)
.

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

2 participants