Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-1501

Cannot clone repositories from Business Central over ssh:// protocol

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Description of problem:
      Attempt to clone any repository managed by Business Central over SSH ends like this:

      > $ git clone -v ssh://admin@127.0.0.1:8001/system
      > Cloning into 'system'...
      > Password authentication
      > Password:
      > Invalid credentials.fatal: Could not read from remote repository.
      >
      > Please make sure you have the correct access rights
      > and the repository exists.

      Although server log inidicates successful authentication:

      > 12:25:05,201 INFO [org.apache.sshd.server.session.ServerSession] (sshd-SshServer[45ebea8a]-nio2-thread-5) Server session created from /127.0.0.1:58070
      > 12:25:05,202 INFO [org.apache.sshd.server.session.ServerSession] (sshd-SshServer[45ebea8a]nio2-thread-5) Kex: server>client aes128-ctr hmac-md5 none
      > 12:25:05,202 INFO [org.apache.sshd.server.session.ServerSession] (sshd-SshServer[45ebea8a]nio2-thread-5) Kex: client>server aes128-ctr hmac-md5 none
      > 12:25:07,132 INFO [org.apache.sshd.server.session.ServerUserAuthService] (sshd-SshServer[45ebea8a]-nio2-thread-4) Session admin@/127.0.0.1:58070 authenticated
      > 12:25:07,135 INFO [org.apache.sshd.server.channel.ChannelSession] (sshd-SshServer[45ebea8a]-nio2-thread-5) Executing command: git-upload-pack '/system'

      Version-Release number of selected component (if applicable):
      6.1.0 ER3

      How reproducible:
      -

      Steps to Reproduce:
      1. Launch Business Central deployed on EAP.
      2. Run git clone -v ssh://<admin_user>@127.0.0.1:8001/system where admin_user is a user with admin role. (It may be neccessary to remove an old 127.0.0.1 host fingerprint from ~/.ssh/known_hosts and confirm the new fingerprint.)

      Actual results:
      Authentication phase fails on clinet, cloning does not start.

      Expected results:
      Repository should be cloned successfully.

      Additional info:
      Worked in ER2.

              abakos@redhat.com Alexandre Porcelli
              jlocker Jiří Locker (Inactive)
              Archiver:
              rhn-support-ceverson Clark Everson
              Jiří Locker Jiří Locker (Inactive)
              Jiří Locker Jiří Locker (Inactive)
              Alessandro Lazarotti, Jiří Locker (Inactive), Kris Verlaenen, Zuzka Krejčová (Inactive)

                Created:
                Updated:
                Resolved:
                Archived: