Andrea Casaccia
Andrea Casaccia

Reputation: 4971

Can't git clone openshift application

I created an OpenShift application from the web console and a private/public keys pair with rhc setup.

Now I'm trying to clone the source code with:

git clone ssh://571f385a7628e1161a000080@test-acasaccia.rhcloud.com/~/git/test.git/

(URL copied from from the console).

The git clone fails with the following message:

ssh: Could not resolve hostname test-acasaccia.rhcloud.com: Name or service not known
fatal: Could not read from remote repository.

Any ideas?

Upvotes: 0

Views: 301

Answers (1)

CodeWizard
CodeWizard

Reputation: 142592

First of all check to see if you have a connection to the machine.

If putty is not able to connect than you have a connection problems.
I assume its a DNS issue and once you will resolve it you will be able to clone.

Upvotes: 2

Related Questions