Is it possible to connect to private Github repositories by using Plesk Git extension?
Yes, it is possible by establishing via SSH key generated by Plesk:
Go to the Github website.
Click the Sign in button:
Specify a Github username and a password in the corresponding Username or email address and Password fields:
Click an icon of your profile:
Press the Settings button:
Navigate to the SSH and GPG keys tab:
Click the New SSH key button:
Go to Domains > example.com > Git.
Note: change the "example.com" domain in the path above to the correct one.
and make sure that the Remote Git hosting like GitHub or BitBucket tab is selected:
Specify the private repository name, e.g.:
in the Remote Git repository field:
Copy the content of the SSH public key field:
back to the Github website, specify the key name in the Title field, insert the copied key from Plesk to the Key field and press the Add SSH key button:
Come back to Plesk and press the OK button to clone the private repository.
Please sign in to leave a comment.