Note that there are some explanatory texts on larger screens.

plurals
  1. POPrivate Key authentication failed error in Eclipse for openshift
    primarykey
    data
    text
    <p>In Eclipse, when I am trying to import the existing application from openshift, it gives me following error -</p> <p>Could not clone the repository. Authentication failed. Please make sure that you added your private key to the ssh preferences.</p> <p>I have followed the below steps- 1. In Eclipse go to Window -> Preferences -> General -> Network Connection -> SSH2 -> Key Management 2. Generate RSA Key 3. Paste the public key content in openshift Express account. 4. Save the private key with passphrase.</p> <p>Even after following above steps I am getting error while cloning the GIT repo.</p> <p>I have following error in Eclipse log file -</p> <pre><code>!ENTRY org.jboss.tools.openshift.express.ui 4 0 2012-03-21 10:43:20.161 !MESSAGE Could not clone the repository. Authentication failed. Please make sure that you added your private key to the ssh preferences. !STACK 0 org.eclipse.jgit.errors.TransportException: ssh://7261e534e25842aaa353878a6c9af7cf@astofa-astofa.rhcloud.com/~/git/astofa.git/: java.net.ConnectException: Connection timed out: connect !ENTRY org.jboss.tools.common.ui 4 0 2012-03-21 10:44:21.838 !MESSAGE Operation did not complete in a reasonnable amount of time </code></pre> <p>It says operation did not complete within time however my net connection is working absolutly fine.</p> <p>Do I need some other tools as well to proceed ? I am new to openshift so I do not have much idea. I was following steps mentioned in - <a href="https://www.redhat.com/openshift/community/blogs/getting-started-with-the-openshift-eclipse-plug-in-for-java-applications-on-the-cloud#comment-16865" rel="nofollow">Setting up openshift project in Eclipse</a></p> <p>and got stuck at step - 5.</p> <p>Kindly let me know the solution to the issue.</p> <p>I installed OpenSSH and generated the key pair and that error has gone now. However, a new error has started coming -</p> <p>An exception occurred while creating local git repository. java.lang.reflect.InvocationTargetException</p> <p>This is something related to GIT.</p> <p>Any suggestion would be of great help.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload