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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content