Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access a private github repository from Aegir through Drush Make on AWS

I have an ec2 instance running on AWS. Aegir installed and drush make works perfect for installing new platforms except when I need to download a theme from a private github repository.

drush make doesn't have access to the github private repository and fails the platform install.

How do I overcome this? Is there some fancy way to give drush make or the aegir user ssh keys for the git repository?

I don't know much about ssh-agent, but I figured maybe getting that to run all the time on my server so aegir will have access to my github.

how to make drush make access a private github repository?

like image 331
Jeremy Iglehart Avatar asked Nov 21 '25 11:11

Jeremy Iglehart


1 Answers

Generate an SSH key on the EC2 instance, then add the public key (usually id_rsa.pub) to the private repository as a deoploy key.

like image 144
stevenh512 Avatar answered Nov 24 '25 04:11

stevenh512



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!