OpenShift fails to authenticate to GitHub/GitLab using SSH
Environment
- OpenShift Container Platform
- Red Hat OpenShift Service on AWS
- Red Hat OpenShift Dedicated
- Azure Red Hat OpenShift
Issue
- Connecting to GitLab/GitHub private repositories using SSH authentication fails
Resolution
Disclaimer: Links contained herein to external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.
Use another authentication method supported by the API.
For more methods authentication methods, please refer to their documentation:
- GitHub
- GitLab
Root Cause
Currently, GitHub and GitLab do not support API authentication using SSH
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments