3 Replies Latest reply on Sep 19, 2015 4:55 PM by Farrukh Ijaz

    How to git clone with ssh url for jbpm 6.2.0.CR3 or CR4?

    Dan Cimpoesu Newbie

      Hi

       

      In jbpm 6.1 Final I am able to git clone repositories but the same operation does not work for 6.2 CR3 or CR4. What could be the problem?

       

      Here are the steps I am taking (that work fine in jbpm 6.1 Final):

       

      1. start workbench

       

      dan@ubuntu:~/Programs/jbpm/6.2.0.CR4/jbpm-installer$ ant start.demo.noeclipse

      Buildfile: /home/dan/Programs/jbpm/6.2.0.CR4/jbpm-installer/build.xml

       

       

      start.h2.check:

           [echo] Checking if h2 db should be started ...

       

       

      start.h2:

       

       

      start.jboss:

       

       

      start.demo.noeclipse:

       

       

      BUILD SUCCESSFUL

      Total time: 10 seconds

      dan@ubuntu:~/Programs/jbpm/6.2.0.CR4/jbpm-installer$

       

      2. login as krisv/krisv at http://localhost:8080/jbpm-console/kie-wb.html

       

      3. from Authoring / Administration / Repositories copy one repository URL eg. ssh://localhost:8001/jbpm-playground

       

      4. try to clone the repository

       

      dan@ubuntu:~/Temp$ git clone ssh://krisv@localhost:8001/jbpm-playground

      Cloning into 'jbpm-playground'...

      Password authentication

      Password: krisv

      Invalid credentials.fatal: Could not read from remote repository.

       

       

      Please make sure you have the correct access rights

      and the repository exists.

      dan@ubuntu:~/Temp$

       

      The logs appear normal but git clone does not work:

       

      2015-01-25 14:30:41,932 INFO  [org.apache.sshd.server.session.ServerSession] (sshd-SshServer[6356ec5d]-nio2-thread-4) Server session created from /127.0.0.1:43119

      2015-01-25 14:30:41,936 INFO  [org.apache.sshd.server.session.ServerSession] (sshd-SshServer[6356ec5d]-nio2-thread-5) Kex: server->client aes128-ctr hmac-md5 none

      2015-01-25 14:30:41,938 INFO  [org.apache.sshd.server.session.ServerSession] (sshd-SshServer[6356ec5d]-nio2-thread-5) Kex: client->server aes128-ctr hmac-md5 none

      2015-01-25 14:30:49,211 INFO  [org.apache.sshd.server.session.ServerUserAuthService] (sshd-SshServer[6356ec5d]-nio2-thread-9) Session krisv@/127.0.0.1:43119 authenticated

      2015-01-25 14:30:49,213 INFO  [org.apache.sshd.server.channel.ChannelSession] (sshd-SshServer[6356ec5d]-nio2-thread-2) Executing command: git-upload-pack '/jbpm-playground'

       

      I tried both for CR3 and CR4 with the same result. However it works fine on 6.1.

       

      Could anyone help?

       

      Thanks

      Dan