Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I setup the www-data on ubuntu to use my ssh keys?

vdmerweh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 12, 2019

We want to get the server to auto push and pull. 

This use to work:

git pull https://{user}:{password}@bitbucket.org/user/{repo_name}.git master;' 

But since the ssh keys are in place it will not work anymore

I am doing a $output = shell_exec($command); command in php.

Please help or is there a better way of getting the server to auto pull the repo?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events