Juniper / contrail-vrouter

Contrail Virtual Router
BSD 2-Clause "Simplified" License
218 stars 171 forks source link

"repo init -u" fails #92

Open wkevils opened 7 years ago

wkevils commented 7 years ago

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 commented 5 years ago
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.