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

git clone from Readme does not work #38

Closed
ramshazar opened this issue Sep 1, 2018 · 2 comments
Closed

git clone from Readme does not work #38

ramshazar opened this issue Sep 1, 2018 · 2 comments

Comments

@ramshazar
Copy link
Contributor

The git clone in the readme does not work.
https://github.com/aquasecurity/kube-hunter/blame/master/README.md#L75

`git clone git@github.com:aquasecurity/kube-hunter.git thiswillnotwork
Cloning into 'thiswillnotwork'...
Permission denied (publickey).
fatal: Could not read from remote repository.

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

git clone via https works fine:
git clone https://github.com/aquasecurity/kube-hunter.git Cloning into 'kube-hunter'... remote: Counting objects: 999, done. remote: Compressing objects: 100% (10/10), done. remote: Total 999 (delta 1), reused 3 (delta 1), pack-reused 988 Receiving objects: 100% (999/999), 177.52 KiB | 0 bytes/s, done. Resolving deltas: 100% (546/546), done.

@WesleyCharlesBlake
Copy link

WesleyCharlesBlake commented Sep 4, 2018

I dont think this is an issue with the project , but more your git config,

$ git clone git@github.com:aquasecurity/kube-hunter.git thiswillnotwork
Cloning into 'thiswillnotwork'...
remote: Counting objects: 999, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 999 (delta 1), reused 3 (delta 1), pack-reused 988
Receiving objects: 100% (999/999), 177.52 KiB | 115.00 KiB/s, done.
Resolving deltas: 100% (546/546), done.

I can clone just fine. The reason that git-ssh wont work for you is because you are probably missing your SSH keys configured to your GitHub account.

The GitHub ssh setup mentions testing your GitHub connection with:

Hi WesleyCharlesBlake! You've successfully authenticated, but GitHub does not provide shell access.```

If that fails, you have an issue with your SSH keys

@lizrice
Copy link
Contributor

lizrice commented Sep 6, 2018

Thanks @WesleyCharlesBlake! I'm closing this one as those instructions should resolve the problem.

@lizrice lizrice closed this as completed Sep 6, 2018
py-go pushed a commit to py-go/kube-hunter that referenced this issue Aug 29, 2021
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
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