I want to host a website on OpenShift but I want my code to synchronize automatically with a "free but private" service like Git, so I found BitBucket.
I tried to connect it by my self by pasting this key from my OpenShift app:
ssh://[email protected]/~/git/XXXXXXXXXX.git/
into:
BitBucket -> Repository -> Import Repository -> Old Repository.
But I get this error:
Unsupported protocol. Please use 'http://', 'https://' , 'svn://' or 'git://.
I believe I have the same issue as this guy: https://www.openshift.com/forums/openshift/connect-to-bitbucket-repository-from-openshift-app
But I don't understand how to apply this solution. Before you ask, yes I'm new to Github, BitBucket and OpenShift etc.
To register the repository SSH key with your private repository on GitHub, go to the Settings for the repository. On GitHub the repository SSH key is referred to by the term Deploy key. Search down the settings page and find the Deploy keys section and select it. Click on the Add deploy key button.
After a lot of searching on Google I found the solution...
I suggest to people with (almost) the same issue as I had, or who are also beginners like me with OpenShift and BitBucket to read and understand this well written tutorial by Redhat: https://www.openshift.com/developers/install-and-setup-putty-ssh-client-for-windows
After that small tutorial, I was able to connect OpenShift with BitBucket through SourceTree.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With