Git clone with ssh-key
Dear Develop team,
I have some issue
When I clone git from repo in Gitlab to my coder-server, and I add SSH-key in my Gitlab
And my application for Open ID connect, but in main.tf don't have parameter git clone . Thank you and best regards,
Ben.Ng
4 Replies
Hello @Ben.Ng, I can't help but notice that the SSH key in your terminal screenshot isn't the same as the one on GitLab
SSH Key and Git Authentication through OpenID Connect are two separate things, what goal are you trying to achieve with the OIDC app?
Dear, I updated the SSH key in GitLab, and the terminal shows the error : ssh: connect to host xx port 22: Connection timed out with error: exit status 255 . But if I add the Key for my other GitLab, then I can clone the repo. It is related to the access rights/identity of the coder-server .t? How do I need to update the main.tf or Docker file?
hello, so it seems that there is some kind of network problem between your Coder workspace and the GitLab instance
try to troubleshoot any routing issues, firewall rules, etc