I tried to fix the problem myself but was not successful.
I want to clone several repositories with the GitHub client from 3 different GitLabs on Windows. For this I used this tutorial here:
I created a SSH Key pair and added the public key to all my profiles on the different GitLabs
I created the access token on each GitLab
When I try to clone the repositories via https and ssh I get an âauthentcation failedâ instead of being asked for the GitLab credentials
Is there something I missed?
My troubleshooting steps:
Logout from GitHub
Delete my GitHub Credentials in the Windows Credential Manager
To help find the cause of the issue, I will suggest to :
verify that accessing the repositories through SSH is enabled. For example, for HTTPS, the repository URL is in the form of : https://gitlabURL/repo.git . With SSH it is git@gitlabhostname/namespace/projet.git
The availability of HTTPS or SSH URL is set at the server level (on premise Gitlab installation) under Admin Area > Settings/ Visibility and access controls.
Try doing the clone from the command line directly with git to ensure the issue is not related to Github client?
Let eliminate these possibilities and see further.