Closed rishabhgargg closed 8 months ago
1) Can you run with -v 6
and show the logs?
2) If you manually run git clone <repo>
with the exact repo syntax, what happens?
3) If you can try v4.1.0 that would also help (soem flags have changed between v3 and v4, there's a doc)
The issue was regarding the port, as git sync over ssh uses port 22 (as expected), and it was blocked in my infrastructure and becuase of that reason, even when I supplied the ssh key, it was falling back to https (443).
Thank you for your response.
Thanks for the update!
With the following docker command:
Note:
git-sync-cloned
,git-sync-essentials
,destination
all have ownership user:group as65533:65533
I am running the
git-sync:v3.6.9
container on my machine. Inside it, when I am executing following command:With this setup, I am getting the following error, I have tried it multiple time, but this doesn't seem to work.
Do note that, I have used the same key to clone the repo without the git-sync container on my local machine on a fresh ubuntu container and it worked as expected, but I don't know why I am facing issues with this git-sync container.
I don't know that even when I am passing the ssh key, why is it asking me for password, I am stuck here for past 3 days now.
@thockin Any help is appreciated. Thanks in advance.