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
No description
No description
No description
4 Replies
Phorcys
Phorcys3mo ago
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?
Ben.Ng
Ben.NgOP3mo ago
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?
No description
Ben.Ng
Ben.NgOP3mo ago
No description
Phorcys
Phorcys3mo ago
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
Want results from more Discord servers?
Add your server