Unable to git clone turris-netboot.git

Hi all,
I have been working on the process of creating openwrt image for omnia target.
While compiling i get the followibg error,

Cloning into ‘turris-netboot’…
Permission denied (publickey).
fatal: Could not read from remote repository.

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

So what is right i need to git clone this. Thanks in advance

What command do you use? Apparently you’re trying to use ssh:// for servers where you don’t have an SSH key set up. For simplicity I’d recommend https:// instead.

Thanks for responding,

I build in ubuntu machine. while doing ./compile_fw omnia, I get this error,
make[3]: Entering directory `/openwrt/feeds/turrispackages/cznic/turris-netboot’
mkdir -p /openwrt/dl
SHELL= flock /openwrt/tmp/.turris-netboot-v0.4.1.1.tar.bz2.flock -c ’ echo “Checking out files from the git repository…”; mkdir -p /openwrt/tmp/dl && cd /openwrt/tmp/dl && rm -rf turris-netboot && [ ! -d turris-netboot ] && git clone git@gitlab.labs.nic.cz:turris/turris-netboot.git turris-netboot && (cd turris-netboot && git checkout v0.4.1.1 && git submodule update --init --recursive) && echo “Packing checkout…” && rm -rf turris-netboot/.git && tar cjf /openwrt/tmp/dl/turris-netboot-v0.4.1.1.tar.bz2 turris-netboot && mv /openwrt/tmp/dl/turris-netboot-v0.4.1.1.tar.bz2 /openwrt/dl/ && rm -rf turris-netboot; '
Checking out files from the git repository…
Cloning into ‘turris-netboot’…
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
make[3]: *** [/openwrt/dl/turris-netboot-v0.4.1.1.tar.bz2] Error 128

Do i manually need to modify that in make file?

Please clarify more on this

Ah, now I see. Replace all occurrences of git@gitlab.labs.nic.cz: by https://gitlab.labs.nic.cz/ (EDITED the ending chars)

Sorry to bother you more on this,

I get this log,
$ git clone https://gitlab.labs.nic.cz:turris/turris-netboot.git turris-netboot

Cloning into ‘turris-netboot’…
fatal: https://gitlab.labs.nic.cz:turris/turris-netboot.git/info/refs not valid: is this a git repository?

Right, I forgot about the ending chars, so the final : needs to be replaced by / as well.

I really appreciate your guidance with this, But still i fail with it

git clone https://gitlab.labs.nic.cz/turris/turris-netboot.git turris-netboot

Cloning into ‘turris-netboot’…
Username for ‘https://gitlab.labs.nic.cz’: Rajkumar1106
**Password for ‘https://Rajkumar1106@gitlab.labs.nic.cz’: **
fatal: repository ‘https://gitlab.labs.nic.cz/turris/turris-netboot.git/’ not found

Hello,

Right now it should be working, would you please try it and let us know if it works for you?

Oh, was something on the server wrong/changed?

We haven’t changed anything on the server, but we set the repository to be public as it was private.

2 Likes

Thank you Guys, It works good with ,

git clone https://gitlab.labs.nic.cz/turris/turris-netboot.git turris-netboot

I appreciate your help