Reputation: 327
I want to integrate Cpanel with GitLab instance which its repositories are private and I can't use SSH because I don't have any access to the configuration of this instance and the Cpanel server (except the ssh keys section in Cpanel itself).
In Cpanel, the git section doesn't accept HTTP URLs for private git repositories and it suggests using SSH URLs instead but I can not.
I tried to use HTTP URL with username and password in URL but it prevents me to do this. like this:
https://USER:[email protected]/username/repository.git
anyone can help me to access the private git repository with SSH?
Upvotes: 0
Views: 746
Reputation: 361
You should:
https://docs.gitlab.com/ee/gitlab-basics/create-your-ssh-keys.html
[email protected]:username/repository.git
Upvotes: 1