Hi everyone,
I am creating an AMI using packer and would like to clone a private bit bucket repo. I have tried to use ssh-agent forwarding, but feels like I am missing something and doesn't work.
I have been running ssh-agent and add your git repo SSH keys into it using ssh-add /path/to/key on my windows local machine.
Then in the json file:
"git clone ssh://giturl",
Can you please let me know what can I do in order to accomplish the task?
Any help will be appreciated.
Thank you in advance.
Best regards,
Beatrice