I would like to observe a GitLab repo on my self-hosted instance.
Here is the process I followed:
Create a credential for phabricator in Passphrase using Phabricator to generate the SSH private key with username ‘phabricator-xxx’
Copy the public key for said credential and add it to the trusted SSH keys in GitLab
Go to Diffusion, Create Git Repository with a custom name and short-name
Add GitLab’s SSH clone URL as the URI, selecting credential
After some time, the importing fails with:
Error updating working copy: Command failed with error #128! COMMAND git clone --bare -- '********' '/usr/local/lib/php/phabricator/repo/8' STDOUT (empty) STDERR Cloning into bare repository '/usr/local/lib/php/phabricator/repo/8'... ssh: connect to host gitlab.com port 22: Permission denied fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
I have been trying every way I could, no success… What could I do?
Thanks for your help!