-
Bug
-
Resolution: Done
-
Critical
-
6.1.0
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.
- blocks
-
RHBRMS-393 Security policies are not applied to git operations
- Verified
-
RHBPMS-473 Git + SSH Cloning of Business Central Git Repository Fails if Java Security Manager is Enabled
- Closed
- is related to
-
RHBRMS-1058 [kie-config-cli] Unable to start tool.
- Verified
- relates to
-
RHBRMS-1058 [kie-config-cli] Unable to start tool.
- Verified