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

"repo init -u" fails #92

Open
wkevils opened this issue Aug 7, 2016 · 1 comment
Open

"repo init -u" fails #92

wkevils opened this issue Aug 7, 2016 · 1 comment

Comments

@wkevils
Copy link

wkevils commented Aug 7, 2016

Hello,
I am following the instructions in:
https://github.com/Juniper/contrail-vrouter/blob/master/README.md

In the section:
"building vrouter.ko for a specific OS"
It says:
...
Initialize the repository $ repo init -u git@github.com:Juniper/contrail-vnc -m vrouter-manifest.xml
...

So I tried on two machines, which are not running any firewall or behind a firewall, both running fedora 22, the following command:

repo init -u git@github.com:Juniper/contrail-vnc -m vrouter-manifest.xml

And it fails with:
Getting repo ...
...
...
info: Ignoring branch 'master'; using tagged release 'v1.7.3.1'

Getting manifest ...
form git@github.com:Juniper/contrail-vnc

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

Please make sure you have the correct access rights
and the repository exists.
fatal: cannot obtain manifest git@github.com:/Juniper/contrail-vnc

Any ideas what can be the reason ?;
I want to add 2 things:
I got the "repo" that I am using by:
git clone https://android.googlesource.com/tools/repo
Please let me know if using "repo" from this URL is not correct
Kevin

@mdavis-xyz
Copy link

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

That's the error there.

Are you able to authenticate to github with ssh generally?

If you have set up ssh keys with github already, try running ssh git@github.com (no -i flag).
Sometimes the keys can't be found, e.g. if you're running tmux inside an ssh session. Or you're doing ssh without agent forwarding.

If you don't know what I'm talking about, follow these instructions.

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