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:

"ssh-keyscan -H bitbucket.org >> ~/.ssh/known_hosts",
"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

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/e08def94-3641-43c0-82eb-dfebed255940n%40googlegroups.com.

Reply via email to