Hi @<1669152726245707776:profile|ManiacalParrot65> , if you configure the agent with agent.translate_ssh: true
and provide agent.git_user
and agent.git_pass
it should translate the git SSH URL to HTTPS
Funny, because when I faced the issue I thought it would be easier to use ssh and not user/pass (because gitgub uses 2FA and I was not sure (still not) how ClearML works with it).
What if you'd try manually change REPOSITORY
prop in cloned task from ssh style address to https style?
I actually want to use HTTPS instead of SSH, which is why I have set a username and password. However, the issue is that when I clone the repository, the link appears as git@gitlab-ssh.[our-company-domain].com:testgroup/testproject.git
instead of https://[our-company-domain].com/gitlab/testgroup/testproject.git
.
hello , i've got exactly same issue recently. first I would advice you to check if you can connect to ssh within the docker container (if it runs in docker) or from your host.
tryssh -T
git@gitlab.com
does it connect?
I found it easier to use HTTPS(:
When I manually changed the REPOSITORY
prop in the cloned task from an ssh address to an https address, it worked fine. But I don't want to change the REPOSITORY
every time I clone.
- the config as you show will try to use https connection in the first place, you have to remove user/pass for it to use ssh as far as I understand