[yocto] [bitbake-devel] Clone RSA key secured, password protected git repository

Denis Sazhaev denis.sazhaev at regenenergy.com
Thu Aug 6 13:02:28 PDT 2015


Hello,

There's a project I'm trying to pull in the recipe located on our private server.
Repository requires an RSA key as well as a password in order to pull files from it.

I'm not sure how to provide a password for the respository that's required for authentication.

Currently my format is as follows:
SRC_URI =  "git://git@<servername>:/opt/git/repo.git;branch=myBranch;protocol=ssh;user=git:password"

I have also tried
SRC_URI =  "git://git:password@<servername>:/opt/git/repo.git;branch=myBranch;protocol=ssh"

With no success.
Does bitbake support publickey + password authentication?
Is the format correct?

The message I'm getting is "Permission denied (publickey,password)."

I've ran git clone command manually and it's working properly. My best guess is that either my SRC_URI format is incorrect or bitbake does not support RSA key + password combination.


Thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150806/6b1efeb5/attachment.html>


More information about the yocto mailing list