Closed MickaelDelanoe closed 2 years ago
You need to pass in a private key into the build env, and that will also skip host-key validation. See https://kas.readthedocs.io/en/latest/command-line.html, looking for SSH_PRIVATE_KEY
.
Or pass a complete .ssh folder into build env, likely a filter one that only contains the needed keys, but also the right known_hosts file. That is achieved via --ssh-dir
as kas command line option.
I used ./kas-container --ssh-dir /home/... build ...
and it's work well.
Thank you.
Hello,
I want adding a git project with a personal recipes.
As I want clone the repo by SSH, so I generated and do the necessary to able to clone the repo. But I encounter an error during the build :
I do not understand why the key verification enter in trouble, because I tried to clone manually my git repo into
build/download/test
and it works well.I tried to increase the
id_rsa
right, but not effects ...Do you have an idea ?
Best Regards,