Re: Private: Re: [yocto] Fetch private gitlab repo using ssh with Yocto recipe #bitbake

2022-02-03 Thread Nicolas Jeker
Re-adding the list. On Wed, 2022-02-02 at 11:51 -0800, Sourabh Hegde wrote: > Hi @Nicolas, Hi Sourabh > Thanks for the detailed answer. > > I followed your steps to fix ssh "config" file and now it's working > fine. Glad to hear it works now. > Regarding my build environment: I am using

Re: [yocto] Fetch private gitlab repo using ssh with Yocto recipe #bitbake

2022-02-02 Thread Nicolas Jeker
On Mon, 2022-01-31 at 02:54 -0800, Sourabh Hegde wrote: > Hello @Nicolas @Erik @Khem, Hi! > Update from my side: > > After following some discussion from other posts, I added "config" > file. > I think you're starting to mix various things together, you should maybe try to not do everything

Re: [yocto] Fetch private gitlab repo using ssh with Yocto recipe #bitbake

2022-01-31 Thread Sourabh Hegde
Hello @Nicolas @Erik @Khem, Update from my side: After following some discussion from other posts, I added "config" file. ~/.ssh/config: Host git.example.com HostName git.example.com User git PreferredAuthentications publickey IdentityFile ~/.ssh/id_ed25519.pub # LogLevel DEBUG3 Then I did

Re: [yocto] Fetch private gitlab repo using ssh with Yocto recipe #bitbake

2022-01-28 Thread Khem Raj
On Fri, Jan 28, 2022 at 2:27 AM VIVAVIS AG wrote: > > Hi, > > > Von: yocto@lists.yoctoproject.org Im Auftrag > > von Sourabh Hegde > > Gesendet: Freitag, 28. Januar 2022 10:47 > > > > Can you please let me know how to "forward SSH_AGENT into it to be able > > to fetch from internal projects

Re: [yocto] Fetch private gitlab repo using ssh with Yocto recipe #bitbake

2022-01-28 Thread Erik Boto
On Fri, Jan 28, 2022 at 11:50 AM Nicolas Jeker wrote: > > On Fri, 2022-01-28 at 10:27 +, VIVAVIS AG wrote: > > Hi, > > > > > Von: yocto@lists.yoctoproject.org Im > > > Auftrag von Sourabh Hegde > > > Gesendet: Freitag, 28. Januar 2022 10:47 > > > > > > Can you please let me know how to

Re: [yocto] Fetch private gitlab repo using ssh with Yocto recipe #bitbake

2022-01-28 Thread Nicolas Jeker
On Fri, 2022-01-28 at 10:27 +, VIVAVIS AG wrote: > Hi, >   > > Von: yocto@lists.yoctoproject.org  Im > > Auftrag von Sourabh Hegde > > Gesendet: Freitag, 28. Januar 2022 10:47 > > > > Can you please let me know how to "forward SSH_AGENT into it to be > > able > > to fetch from internal

Re: [yocto] Fetch private gitlab repo using ssh with Yocto recipe #bitbake

2022-01-28 Thread VIVAVIS AG
Hi, > Von: yocto@lists.yoctoproject.org Im Auftrag > von Sourabh Hegde > Gesendet: Freitag, 28. Januar 2022 10:47 > > Can you please let me know how to "forward SSH_AGENT into it to be able > to fetch from internal projects without the need to mount the key into the > container."? I never did

Re: [yocto] Fetch private gitlab repo using ssh with Yocto recipe #bitbake

2022-01-28 Thread Sourabh Hegde
Hi Nicolas, Thanks for your answer. That's great. Even I am building inside a docker container. I tried with creating a "config" file in .ssh directory. But I still have same issue. Can you please let me know how to "forward SSH_AGENT into it to be able to fetch from internal projects without

Re: [yocto] Fetch private gitlab repo using ssh with Yocto recipe #bitbake

2022-01-28 Thread Nicolas Jeker
On Tue, 2022-01-25 at 23:16 -0800, hrsourabh...@gmail.com wrote: > I am trying to fetch a private gitlab repo within Yocto image recipe > using SSH protocol. In my image recipe I have passed SRC_URI as: > > SRC_URI = " \ > gitsm://g...@git.example.com:2224/blah/blah/blah/blah;protocol >

[yocto] Fetch private gitlab repo using ssh with Yocto recipe #bitbake

2022-01-25 Thread hrsourabh011
I am trying to fetch a private gitlab repo within Yocto image recipe using SSH protocol. In my image recipe I have passed SRC_URI as: SRC_URI = " \ gitsm://g...@git.example.com:2224/blah/blah/blah/blah;protocol=ssh;branch=master \ " But this results in the error: ERROR: Fetcher