How to build an application using a private internal repository[Bitbucket] with SSH authentication in OpenShift

Solution Unverified - Updated -

Issue

  • Creating a new build or a new application using a private internal repository using SSH gives the following error:
Cloning "ssh://git@bitbucket.org/madhusudanupadhyay/portfolio.git" ...
error: build error: Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

Environment

  • RedHat OpenShift Container Platform[OCP]
    • 3.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.