I have tried almost every possibility (but the one that should be working) and still haven't managed to pass this problem.
Is there a howto/tutorial/documentation that describes the steps for *mirroring a private repository* from Gitlab.com? Le vendredi 25 mars 2016 15:25:59 UTC+1, Mathieu Coquerelle a écrit : > > Hello there, > > I've just created a new project on gitlab.com > I want to mirror (well, firstly import) a git repository that is hosted on > a server. > The repository can be accessed externally via SSH : ssh:// > myu...@myserver.com/path/to/my/git/repo > > In the Gitlab.com Settings/Mirroring tab, I have put this address in the > "Git repository URL" box. > But, of course, to make it happen, I need to add the GitLab server public > SSH key to myuser's ~/.ssh/authorized_keys (as stated : "If your SSH > repository is not publicly accessible, add the public SSH key of the GitLab > server to the remote repository.") > > I've scanned gitlab.com's keys and copied them to the authorized_keys' > file... but the server failed to connect! > >> *Host key verification failed*. >> fatal: Could not read from remote repository. >> Please make sure you have the correct access rights >> and the repository exists. > > > What am I doing wrong? Did I catched the wrong GitLab's public key? > > Thanks in advance for your answer > Mathieu. > > PS : the command to keyscan I used : > >> ssh-keyscan gitlab.com >> # gitlab.com SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.6 >> gitlab.com ssh-rsa >> AAAAB3NzaC1yc2EAAAADAQABAAABAQCsj2bNKTBSpIYDEGk9KxsGh3mySTRgMtXL583qmBpzeQ+jqCMRgBqB98u3z++J1sKlXHWfM9dyhSevkMwSbhoR8XIq/U0tCNyokEi/ueaBMCvbcTHhO7FcwzY92WK4Yt0aGROY5qX2UKSeOvuP4D6TPqKF1onrSzH9bx9XUf2lEdWT/ia1NEKjunUqu1xOB/StKDHMoX4/OKyIzuS0q/T1zOATthvasJFoPrAjkohTyaDUz2LN5JoH839hViyEG82yB+MjcFV5MU3N1l1QL3cVUCh93xSaua1N85qivl+siMkPGbO5xR/En4iEY6K2XPASUEMaieWVNTRCtJ4S8H+9 >> # gitlab.com SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.6 >> gitlab.com ecdsa-sha2-nistp256 >> AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFSMqzJeV9rUzU4kWitGjeR4PWSa29SPqJ1fVkhtj3Hw9xjLVXVYrU9QlYWrOLXBpQ6KWjbjTDTdDkoohFzgbEY= > > > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/0230b69a-aeb4-4bcb-849c-8831610ab03c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.