ive just stated using github paid (private) version where im developing a webapp. I want to be able to deploy the webapp to my clients on a cpanel hosting account to get them setup fast. either by ussing SSH or via PHP installer script i will right.
The problem i have is the repo is private and so if i login to my server as root or the cpanel user and run git clone or git pull i get a ‘Permission denied (publickey)’.
Ive read up on deploy key / access keys but have no idea how i set these up. I would prefer to have the server globally be allowed to clone/pull repos from my private account no matter which website/domain im installing the new app to.
any help on this would be great…